feat: HTML code preview is supported in markdown.

This commit is contained in:
jaywcjlove
2022-10-23 22:27:07 +08:00
parent fdcfcb287b
commit a478fbb888
6 changed files with 44 additions and 5 deletions

View File

@ -228,6 +228,16 @@ const school = <div>学校</div>;
```
<!--rehype:className=wrap-text -->
### HTML 代码预览
```
```html preview
这里是你的 HTML 代码
\```
```
上面的 `markdown` 代码在 `meta` 位置添加 `preview` 标识HTML 代码将被执行预览
布局
---