1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-02-04 19:16:07 +02:00
joplin/ReactNativeClient
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
..
2019-10-16 23:59:46 +02:00
2019-09-13 22:08:13 +01:00
2019-10-28 21:18:18 -04:00
2019-06-14 07:12:24 +01:00
2019-07-30 09:35:42 +02:00
2019-07-30 09:35:42 +02:00
2019-07-30 09:35:42 +02:00
2019-07-30 09:35:42 +02:00
2019-07-30 09:35:42 +02:00
2019-06-14 08:11:15 +01:00