Update markdown-it and use alternative markdown-it-table-of-contents
parent
a7589eabcd
commit
cb900f19b1
2
index.js
2
index.js
|
@ -33,7 +33,7 @@ var m_markdownit = require('markdown-it')({
|
|||
typographer: true
|
||||
});
|
||||
m_markdownit.use(require('markdown-it-anchor'));
|
||||
m_markdownit.use(require('markdown-it-table-of-contents'), {includeLevel: "2-8"});
|
||||
m_markdownit.use(require('markdown-it-table-of-contents-with-heading'), {includeLevel: [1,2,3,4,5,6,7,8], forceFullToc: true});
|
||||
m_markdownit.use(require('markdown-it-deflist'));
|
||||
m_markdownit.use(require('markdown-it-header-sections'));
|
||||
m_markdownit.use(require('markdown-it-sup'));
|
||||
|
|
12
package.json
12
package.json
|
@ -9,14 +9,14 @@
|
|||
"author": "kts of kettek <kettek1@kettek.net> (https://kettek.net/)",
|
||||
"license": "GPLv3",
|
||||
"dependencies": {
|
||||
"chokidar": "^1.4.2",
|
||||
"chokidar": "^1.7.0",
|
||||
"cors": "^2.8.4",
|
||||
"formidable": "^1.0.17",
|
||||
"markdown-it": "^5.0.2",
|
||||
"markdown-it-anchor": "^2.3.2",
|
||||
"markdown-it-deflist": "^2.0.0",
|
||||
"formidable": "^1.2.1",
|
||||
"markdown-it": "^5.1.0",
|
||||
"markdown-it-anchor": "^2.7.1",
|
||||
"markdown-it-deflist": "^2.0.3",
|
||||
"markdown-it-header-sections": "^0.2.0",
|
||||
"markdown-it-sup": "^1.0.0",
|
||||
"markdown-it-table-of-contents": "^0.1.2"
|
||||
"markdown-it-table-of-contents-with-heading": "^0.3.3"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue