Skip to content

Commit

Permalink
Configure kramdown toc_levels as array by default (#8015)
Browse files Browse the repository at this point in the history
Merge pull request 8015
  • Loading branch information
ashmaroli committed Feb 20, 2020
1 parent 3fb94fb commit 707741c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/_docs/configuration/default.md
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion lib/jekyll/configuration.rb
Expand Up @@ -66,7 +66,7 @@ class Configuration < Hash

"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",
Expand Down

0 comments on commit 707741c

Please sign in to comment.