Typst PDF embed in Docusaurus
· 阅读需 1 分钟
description
This MDX document uses the Sample
component to display a PDF.
The setup instruction can be found in the Embed pdf in docusaurus.
You can add the following code to your mdx
file to display a PDF:
import PdfEmbed from '@site/src/components/PdfEmbed';
<PdfEmbed src="https://minioapi.pjx.ac.cn/img1/2024/06/05f811281e5ef7b77a8c9d4412d297f9.pdf" />
1 /