mirror of https://github.com/laurent22/joplin.git
This change fixes a few issues with the toc plugin. It now allows to set inline options. e.g. to set the max toc depth. 1. set toc depth to 2 levels ``` $<toc{"level":[1,2]}> ``` 2. set toc depth to 3 levels and use an ordered list ``` $<toc{"level":[1,2,3],"listType":"ol"}> ``` /ref https://github.com/nagaozen/markdown-it-toc-done-right/issues/16 --- fixes #1953 fixes #1843 fixes https://discourse.joplinapp.org/t/set-depth-of-toc/2899pull/2044/head
parent
dece5d8de7
commit
cdf6f9c436
|
@ -113,7 +113,7 @@
|
|||
"mark.js": "^8.11.1",
|
||||
"markdown-it": "^8.4.1",
|
||||
"markdown-it-abbr": "^1.0.4",
|
||||
"markdown-it-anchor": "^5.2.4",
|
||||
"markdown-it-anchor": "^5.2.5",
|
||||
"markdown-it-deflist": "^2.0.3",
|
||||
"markdown-it-emoji": "^1.4.0",
|
||||
"markdown-it-footnote": "^3.0.2",
|
||||
|
@ -123,7 +123,7 @@
|
|||
"markdown-it-multimd-table": "^3.2.0",
|
||||
"markdown-it-sub": "^1.0.0",
|
||||
"markdown-it-sup": "^1.0.0",
|
||||
"markdown-it-toc-done-right": "^4.0.2",
|
||||
"markdown-it-toc-done-right": "^4.1.0",
|
||||
"md5": "^2.2.1",
|
||||
"moment": "^2.22.2",
|
||||
"multiparty": "^4.2.1",
|
||||
|
|
|
@ -23,7 +23,7 @@
|
|||
"katex": "^0.10.0",
|
||||
"markdown-it": "^8.4.0",
|
||||
"markdown-it-abbr": "^1.0.4",
|
||||
"markdown-it-anchor": "^5.2.4",
|
||||
"markdown-it-anchor": "^5.2.5",
|
||||
"markdown-it-deflist": "^2.0.3",
|
||||
"markdown-it-emoji": "^1.4.0",
|
||||
"markdown-it-footnote": "^3.0.2",
|
||||
|
@ -33,7 +33,7 @@
|
|||
"markdown-it-multimd-table": "^3.2.0",
|
||||
"markdown-it-sub": "^1.0.0",
|
||||
"markdown-it-sup": "^1.0.0",
|
||||
"markdown-it-toc-done-right": "^4.0.2",
|
||||
"markdown-it-toc-done-right": "^4.1.0",
|
||||
"md5": "^2.2.1",
|
||||
"moment": "^2.24.0",
|
||||
"prop-types": "^15.6.0",
|
||||
|
|
Loading…
Reference in New Issue