Merge pull request #398 from xebcxc/dev

增加toc支持的标题层级,目前不支持h4级标题以上(包括)-dev
pull/401/head
Ryan Wang 2019-11-25 13:03:11 +08:00 committed by GitHub
commit c946876431
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -49,6 +49,7 @@ public class MarkdownUtils {
TocExtension.create(),
YamlFrontMatterExtension.create())
)
.set(TocExtension.LEVELS, 255)
.set(TablesExtension.WITH_CAPTION, false)
.set(TablesExtension.COLUMN_SPANS, false)
.set(TablesExtension.MIN_HEADER_ROWS, 1)