Configure kramdown toc_levels as array by default (#8015)

Merge pull request 8015
This commit is contained in:
Ashwin Maroli 2020-02-20 23:24:49 +05:30 committed by GitHub
parent 3fb94fbca0
commit 707741c0f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -79,7 +79,7 @@ redcarpet:
kramdown:
auto_ids : true
entity_output : as_char
toc_levels : 1..6
toc_levels : [1, 2, 3, 4, 5, 6]
smart_quotes : lsquo,rsquo,ldquo,rdquo
input : GFM
hard_wrap : false

View File

@ -66,7 +66,7 @@ module Jekyll
"kramdown" => {
"auto_ids" => true,
"toc_levels" => "1..6",
"toc_levels" => (1..6).to_a,
"entity_output" => "as_char",
"smart_quotes" => "lsquo,rsquo,ldquo,rdquo",
"input" => "GFM",