Test Typst as SVG component
· One min read
note
Because Typst cannot be exported as HTML, we can only use it as a PDF, PNG, or SVG. Here we test the SVG component.
You can add the following code to your mdx
file to test the SVG component:
import Test from '@site/static/img/logo.svg'
<Test />