Skip to content

Commit

Permalink
require redcarpet 3.1 for user-friendly anchors
Browse files Browse the repository at this point in the history
with_toc_data was updated in vmg/redcarpet#186
to generate pretty ID attributes for Hn headers, which is what we use
for cross-linking
  • Loading branch information
adriaanm committed Mar 26, 2014
1 parent f16ab43 commit 09f2a26
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _config.yml
Expand Up @@ -5,5 +5,7 @@ markdown: redcarpet
encoding: utf-8
redcarpet:
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data", "strikethrough", "lax_spacing", "space_after_headers", "superscript", "footnotes"]
# with_toc_data requires redcarpet 3.1 to get
# pretty ID attributes for Hn headers (https://github.com/vmg/redcarpet/pull/186)
baseurl: /scala-ref-markdown/
# permalink: /docs/:title.html

0 comments on commit 09f2a26

Please sign in to comment.