Is there a way to generate HTML from typst without the header? (i.e. without <head>...</head>
tags and only the content inside <body>...</body>
)
I’m writing a typst-based blog preprocessor, and this would be very convenient.
Is there a way to generate HTML from typst without the header? (i.e. without <head>...</head>
tags and only the content inside <body>...</body>
)
I’m writing a typst-based blog preprocessor, and this would be very convenient.
Not yet, but it’s planned. The current HTML support is still very rudimentary – enough to test it and get a feel for it, but lacking features for various specific use cases.
If you don’t want to wait, you’d need to find the <body>
and </body>
tags in the document to extract the content in this way.