mirror of
https://github.com/inspec/inspec
synced 2024-11-10 15:14:23 +00:00
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:
parent
fd3dac23ce
commit
914fed115e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue