Skip to content

Commit 09f2a26

Browse files
committed
require redcarpet 3.1 for user-friendly anchors
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
1 parent f16ab43 commit 09f2a26

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

_config.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,7 @@ markdown: redcarpet
55
encoding: utf-8
66
redcarpet:
77
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "tables", "with_toc_data", "strikethrough", "lax_spacing", "space_after_headers", "superscript", "footnotes"]
8+
# with_toc_data requires redcarpet 3.1 to get
9+
# pretty ID attributes for Hn headers (https://github.com/vmg/redcarpet/pull/186)
810
baseurl: /scala-ref-markdown/
911
# permalink: /docs/:title.html

0 commit comments

Comments
 (0)