Add with_toc_data option to markdown renderer (#2109)

This adds 'id="foo"' attributes to headers, which lets you link directly
to a specific section of the documentation.

Signed-off-by: Mark Harrison <mark@mivok.net>
This commit is contained in:
Mark Harrison 2017-08-31 14:43:42 -04:00 committed by Adam Leff
parent fd3dac23ce
commit 914fed115e

View file

@ -54,4 +54,4 @@ activate :directory_indexes
activate :syntax
set :trailing_slash, false
set :markdown_engine, :redcarpet
set :markdown, fenced_code_blocks: true, smartypants: true, coderay_line_numbers: :table, tables: true
set :markdown, fenced_code_blocks: true, smartypants: true, coderay_line_numbers: :table, tables: true, with_toc_data: true