You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-11-29 22:48:10 +02:00
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/2899