mirror of
https://github.com/status-im/codimd.git
synced 2025-01-11 21:34:32 +00:00
feat: support multi-row table and row span
please see https://github.com/RedBug312/markdown-it-multimd-table for more syntax example Signed-off-by: BoHong Li <raccoon@hackmd.io>
This commit is contained in:
parent
05dd6eb739
commit
880e04a8f7
22
package-lock.json
generated
22
package-lock.json
generated
@ -11657,6 +11657,28 @@
|
||||
"resolved": "https://registry.npmjs.org/markdown-it-mathjax/-/markdown-it-mathjax-2.0.0.tgz",
|
||||
"integrity": "sha1-ritPTFxxmgP55HXGZPeyaFIx2ek="
|
||||
},
|
||||
"markdown-it-multimd-table": {
|
||||
"version": "4.0.1",
|
||||
"resolved": "https://registry.npmjs.org/markdown-it-multimd-table/-/markdown-it-multimd-table-4.0.1.tgz",
|
||||
"integrity": "sha512-ZgRV8LlGz6JXTZ5zd82yCL8IVG5MRastMWxxrc6hQC8aC8kq/7zpp+ksBqVqcdTmTdabnkuSo/7h3SyKM31YCA==",
|
||||
"requires": {
|
||||
"markdown-it": "^8.4.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"markdown-it": {
|
||||
"version": "8.4.2",
|
||||
"resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-8.4.2.tgz",
|
||||
"integrity": "sha512-GcRz3AWTqSUphY3vsUqQSFMbgR38a4Lh3GWlHRh/7MRwz8mcu9n2IO7HOh+bXHrR9kOPDl5RNCaEsrneb+xhHQ==",
|
||||
"requires": {
|
||||
"argparse": "^1.0.7",
|
||||
"entities": "~1.1.1",
|
||||
"linkify-it": "^2.0.0",
|
||||
"mdurl": "^1.0.1",
|
||||
"uc.micro": "^1.0.5"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"markdown-it-regexp": {
|
||||
"version": "0.4.0",
|
||||
"resolved": "https://registry.npmjs.org/markdown-it-regexp/-/markdown-it-regexp-0.4.0.tgz",
|
||||
|
@ -91,6 +91,7 @@
|
||||
"markdown-it-ins": "~2.0.0",
|
||||
"markdown-it-mark": "~2.0.0",
|
||||
"markdown-it-mathjax": "~2.0.0",
|
||||
"markdown-it-multimd-table": "^4.0.1",
|
||||
"markdown-it-regexp": "~0.4.0",
|
||||
"markdown-it-sub": "~1.0.0",
|
||||
"markdown-it-sup": "~1.0.0",
|
||||
|
@ -1056,6 +1056,11 @@ md.use(require('markdown-it-mathjax')({
|
||||
}))
|
||||
md.use(require('markdown-it-imsize'))
|
||||
md.use(require('markdown-it-ruby'))
|
||||
md.use(require('markdown-it-multimd-table'), {
|
||||
multiline: true,
|
||||
rowspan: true,
|
||||
headerless: false
|
||||
})
|
||||
|
||||
window.emojify.setConfig({
|
||||
blacklist: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user