mirror of
https://github.com/olivierlacan/keep-a-changelog.git
synced 2025-07-30 01:04:30 +02:00
Fix TOC
This commit is contained in:
parent
69723cdea2
commit
50eec2a19c
@ -128,7 +128,7 @@ class CustomMarkdownRenderer < Redcarpet::Render::HTML
|
|||||||
@header = Redcarpet::Markdown.new(
|
@header = Redcarpet::Markdown.new(
|
||||||
Redcarpet::Render::HTML_TOC.new(nesting_level: 3),
|
Redcarpet::Render::HTML_TOC.new(nesting_level: 3),
|
||||||
{ with_toc_data: true }
|
{ with_toc_data: true }
|
||||||
).render(top).html_safe
|
).render(top + bottom).html_safe
|
||||||
|
|
||||||
full_document
|
full_document
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user