feat: 增加ipynb渲染
This commit is contained in:
10
utils/notebook/markdown.js
Normal file
10
utils/notebook/markdown.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import markdown from "markdown-it";
|
||||
|
||||
const MD = markdown({
|
||||
html: true,
|
||||
xhtmlOut: true,
|
||||
breaks: true,
|
||||
linkify: true,
|
||||
});
|
||||
|
||||
export default MD;
|
||||
Reference in New Issue
Block a user