Skip to content

Commit 2ad71ba

Browse files
authored
Merge pull request #303 from benpickles/include-heading-anchors
Include anchors on headings
2 parents 9099236 + 9b2ca70 commit 2ad71ba

File tree

4 files changed

+117
-118
lines changed

4 files changed

+117
-118
lines changed

Rakefile

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def readme_to_html(fname, path, with_toc = false, fragment = false)
165165
markdown = Kramdown::Document.new(markdown_string,
166166
:fenced_code_blocks => true,
167167
:syntax_highlighter => :rouge,
168-
:auto_ids => false)
168+
:auto_ids => true)
169169

170170
html = cleanup(markdown.to_html, fragment)
171171
File.open(fname, 'w') do |io|

0 commit comments

Comments
 (0)