mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-17 09:36:08 +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);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@hydrooj/ui-default",
|
||||
"version": "4.8.40",
|
||||
"version": "4.8.41",
|
||||
"author": "undefined <i@undefined.moe>",
|
||||
"license": "AGPL-3.0",
|
||||
"main": "hydro.js",
|
||||
@@ -115,6 +115,7 @@
|
||||
"markdown-it-footnote": "^3.0.2",
|
||||
"markdown-it-imsize": "^2.0.1",
|
||||
"markdown-it-mark": "^3.0.1",
|
||||
"markdown-it-merge-cells": "^1.0.1",
|
||||
"markdown-it-table-of-contents": "^0.5.2",
|
||||
"nunjucks": "^3.2.3",
|
||||
"streamsaver": "^2.0.5",
|
||||
|
||||
Reference in new issue
Block a user