-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin only renders first page on PDF export #31
Comments
As this plugin is intended to only render code blocks and math blocks, it only makes sense to render the first page. Once a custom editor has been added multiple pages could be supported. |
Ah, I see. Understandable! Is there a planned implementation for the custom editor? I would love to contribute but am unfamiliar with Rust. The work you've put into this plugin is much appreciated! |
An implementation is planned but its waiting on HTML export from typst as that would remove a lot of the headache. I think @SekoiaTree started looking into the impl. then switched to looking into the html export and then I lost track :) |
Haha yeah I've been relatively busy since sadly |
hi! so just to clarify, I have a bunch of math blocks interspersed with standard Obsidian text. when I export to PDF, my content is longer than 1 page, and so only the math blocks on the first page are rendered, the rest are not. this is currently expected behavior, right? thank you! |
@aczw I think your problem is closer to #29 than this one.
In a way it is expected behaviour but it is still a problem that should be fixed. Its most likely because Obsidian expects the As a work around you try using pandoc to convert the markdown into Typst... |
ah that issue more closely describes what I'm experiencing. I'm not in a hurry to export my notes or anything, but I'll try using pandoc, thanks! |
The plugin doesn't seem to be able to render multi-page documents. I'm rendering as SVG in the example, but it's the same with images!
Preamble
Codeblock
Intended result
Test.pdf
Actual Result
The text was updated successfully, but these errors were encountered: