mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-02-16 20:53:28 +00:00
Fixed TOC only showing up to 2 levels instead of 3 (#260)
This commit is contained in:
parent
a03e341f22
commit
6a808e76d9
1 changed files with 1 additions and 0 deletions
|
@ -86,6 +86,7 @@ const MarkdownRenderer: React.FC<MarkdownPreviewProps> = ({ content }) => {
|
|||
permalinkSymbol: '<i class="fa fa-link"></i>'
|
||||
})
|
||||
md.use(toc, {
|
||||
includeLevel: [1, 2, 3],
|
||||
markerPattern: /^\[TOC]$/i
|
||||
})
|
||||
md.use(mathJax({
|
||||
|
|
Loading…
Reference in a new issue