摘要:
import Editor from "@monaco-editor/react"; import { useState } from "react"; import Markdown from "react-markdown"; import rehypeHighlight from "rehyp 阅读全文
posted @ 2024-08-06 16:03
卓能文
阅读(52)
评论(0)
推荐(0)
摘要:
参见下面test.md示例: # My markdown document ```{=typst} #let foob(x) = { x + x } #foob(2) ``` this is `raw #(2 + 3) typst`{=typst} 转换并编译: pandoc test.md -o 阅读全文
posted @ 2024-08-06 08:48
卓能文
阅读(157)
评论(0)
推荐(0)
摘要:
采用了@monaco-editor/react进行编辑,react-markdown预览 import Editor from "@monaco-editor/react"; import { useState } from "react"; import Markdown from "react- 阅读全文
posted @ 2024-08-06 01:00
卓能文
阅读(219)
评论(0)
推荐(0)

浙公网安备 33010602011771号