Does Quarto (plan to) support rendering MDX to PDFs? #6464
Unanswered
krishaamer
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi @krishaamer and thanks for the message. Rendering MDX to HTML is straighforward because the MDX block is copied to the HTML and the rendering is delegated to the readers browser with JavaScript. Rendering MDX to PDF is a mine field because the MDX block must to be render to HTML with a server render (like Node) and the HTML render to LaTeX. From the example that you provide, one solution is to use a filter (more at https://quarto.org/docs/extensions/filters.html) |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Description
As far as I understand MDX is currently only rendered to web?
What I'm doing currently is using conditionals based on where it's exported but it leads to repeating myself.
Thanks
Kris
Beta Was this translation helpful? Give feedback.
All reactions