Skip to content

Invalid SVG? #551

Answered by Myriad-Dreamin
dipamsen asked this question in Q&A
Discussion options

You must be logged in to vote

The default SVG export of typst.ts assumes it is under browser environment, i.e. it is as a inline element of HTML DOM. If you want to export to some "more plain" SVG, you can use:

$typst.svg({ data_selection: { js: false } })

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by dipamsen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants