更新文档: 测试一个代码
@@ -1,7 +1,14 @@
|
|||||||
# 这是一段typescript代码
|
# 这是一段typescript代码
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
```ts
|
```ts
|
||||||
import
|
import hljs from "highlight.js";
|
||||||
|
import atomOneDarkCSS from "highlight.js/styles/atom-one-dark.css?raw";
|
||||||
|
import githubDarkCSS from "highlight.js/styles/github-dark.css?raw";
|
||||||
|
import vs2015CSS from "highlight.js/styles/vs2015.css?raw";
|
||||||
|
import React, { useMemo, useRef, useEffect } from "react";
|
||||||
|
import ReactMarkdown from "react-markdown";
|
||||||
|
import rehypeHighlight from "rehype-highlight";
|
||||||
|
import rehypeRaw from "rehype-raw";
|
||||||
|
import remarkBreaks from "remark-breaks";
|
||||||
|
import remarkGfm from "remark-gfm";
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user