Test Typst as SVG component
· 阅读需 1 分钟
备注
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 />