diff options
author | Gabriel Mazetto <brodock@gmail.com> | 2018-04-11 23:33:56 +0300 |
---|---|---|
committer | Gabriel Mazetto <brodock@gmail.com> | 2018-10-31 17:50:23 +0300 |
commit | f5d63398cb487ea09f6869bff46627ac9a5fe5db (patch) | |
tree | 2c76fab821913c5a740f9c976581625a225150dd /Rules | |
parent | c58e6eccc581edd04bf064ac35550c4c1317257b (diff) |
Allow disabling of TOC with `toc: false` flag in frontmatter
Diffstat (limited to 'Rules')
-rw-r--r-- | Rules | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -62,14 +62,15 @@ compile '/**/*.md' do # GitLab price / tiers specific badges filter :badges - # Use Kramdown with Rouge. - # https://kramdown.gettalong.org/options.html + # Use GitlabKramdown with Rouge. + # https://gitlab.com/brodock/gitlab_kramdown filter :gitlab_kramdown, input: 'GitlabKramdown', syntax_highlighter: 'rouge', hard_wrap: false, auto_ids: true, - toc_levels: 2..5 + toc_levels: 2..5, + with_toc: include_toc filter :colorize_syntax, default_colorizer: :rouge |