summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdriaan Moors <adriaan.moors@typesafe.com>2014-03-26 09:14:59 -0700
committerAdriaan Moors <adriaan.moors@typesafe.com>2014-03-26 09:14:59 -0700
commit09f2a2644f6baeebf038283ba17d33e4f38db752 (patch)
treed901f69ccb9ef17384dd31e5b4ad4d79e9f374f5
parentf16ab43734906e752eba81c3e73acb44dd792bbc (diff)
downloadscala-09f2a2644f6baeebf038283ba17d33e4f38db752.tar.gz
scala-09f2a2644f6baeebf038283ba17d33e4f38db752.tar.bz2
scala-09f2a2644f6baeebf038283ba17d33e4f38db752.zip
require redcarpet 3.1 for user-friendly anchors
with_toc_data was updated in https://github.com/vmg/redcarpet/pull/186 to generate pretty ID attributes for Hn headers, which is what we use for cross-linking
-rw-r--r--_config.yml2
1 files changed, 2 insertions, 0 deletions
diff --git a/_config.yml b/_config.yml
index 605c30ff4a..630689de75 100644
--- a/_config.yml
+++ b/_config.yml
@@ -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 \ No newline at end of file