mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-19 17:38:19 +08:00
ui: markdown: allow merge cells
This commit is contained in:
1 parent
664938c075
commit
abeab99cd8
2 files changed
+4
-1
No files matched your search
@@ -18,6 +18,7 @@ const Footnote = require('markdown-it-footnote');
|
||||
const Mark = require('markdown-it-mark');
|
||||
const TOC = require('markdown-it-table-of-contents');
|
||||
const Anchor = require('markdown-it-anchor');
|
||||
const MergeCells = require('markdown-it-merge-cells');
|
||||
// @[url](videourl)
|
||||
// @[youtube](https://youtube.com/watch?v=xxx)
|
||||
// @[pdf](https://foo.com/bar.pdf)
|
||||
@@ -39,6 +40,7 @@ class Markdown extends MarkdownIt {
|
||||
this.use(Anchor);
|
||||
this.use(TOC);
|
||||
this.use(Katex);
|
||||
this.use(MergeCells);
|
||||
this.use(xssProtector);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user