Skip to content
Discussion options

You must be logged in to vote

But if I try to create both an HTML and a pdf output, the Typst blocks do not appear at all in the HTML output.
Is there any way to obtain both outputs from Typst blocks?

No, because Quarto does only do markdown to other formats.

The reason I am asking is that I find Typst markup easier and more elegant than Markdown, and since I am relatively new with both, I would rather skip Markdown entirely (or as much as possible) in my source files and only use Typst blocks (and code blocks).
Is this simply not possible, or perhaps am I missing something obvious to make it work?

Typst allows to natively export to PDF and HTML (under development).

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@mjjmat
Comment options

@mcanouil
Comment options

mcanouil Dec 4, 2025
Collaborator

@mjjmat
Comment options

Answer selected by mjjmat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
2 participants