obsidian-metatable icon indicating copy to clipboard operation
obsidian-metatable copied to clipboard

Bug when exporting pdf with pictures

Open Thus0 opened this issue 2 years ago • 3 comments

Hi

when I have a picture in my markdown, the metatable is not displayed in the pdf ; whereas the metatable appears correctly in "reader view" in Obsidian. If I remove the picture from the markdown file, the pdf is correct with the metatable displayed at the top. I tried to force metatable with "metatable: false" in frontmatter but it does not change.

Step to reproduce : add a picture

![](attachments/test.png)

metatable: 0.11.0 obsdian: 0.13.33

Thus0 avatar Mar 12 '22 13:03 Thus0

Thanks for reporting @Thus0 👍

arnau avatar Mar 12 '22 14:03 arnau

Some example to see the problem:

  • markdown with picture table1

  • markdown without picture table2

  • markdown content (I remove the ! at the beginning of the line) table3

Thus0 avatar Mar 12 '22 14:03 Thus0

This bug seems to show some more weird behaviour:

  • The metatable appears at the end of the PDF (when no image embedded)
  • When metatable is not active, Obsidian never displays the frontmatter in the resulting PDF.

I'll keep it open but I don't know how to address this issue.

arnau avatar Jul 09 '23 12:07 arnau