1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-27 10:32:58 +02:00
joplin/ElectronClient
Helmut K. C. Tessarek cdf6f9c436 Desktop, Mobile: Resolves #1953: Update Markdown plugins: toc-done-right, anchor (#2005)
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
2019-10-30 10:18:31 +00:00
..
app Desktop, Mobile: Resolves #1953: Update Markdown plugins: toc-done-right, anchor (#2005) 2019-10-30 10:18:31 +00:00
.gitignore Clean up 2019-04-02 00:12:38 +01:00
build.sh
run-prod.sh fix permissions for shell scripts (add executable flag) (#866) 2018-10-09 22:58:18 +01:00
run.sh Desktop, CLI: Added option to disable creation of welcome items 2019-05-12 01:10:46 +01:00