fenjalien / obsidian-typst

Renders typst code blocks in Obsidian into images using Typst through the power of WASM!
Apache License 2.0
335 stars 16 forks source link

unable to export to PDF math equations #29

Open Supercip971 opened 1 year ago

Supercip971 commented 1 year ago

I'm using admonition and typst (disabling the plugin doesn't change anything to the issue), and when I try to export to PDF my notes, Typst block are just empty, or sometimes the first 3-5 get rendered and that's it.

Help appreciated <3 ! + sorry it's french

Supercip971 commented 1 year ago

I have "better" result when setting the zoom to its minimum, but I don't know if it can help.

fenjalien commented 1 year ago

I don't know anything about how obisidian pdf export works, but if I had to guess its because the Typst parts either aren't given time to render or don't know their parent's size. I'll have to take a closer look at some point though.