Skip to content

Instantly share code, notes, and snippets.

@holman
Created January 19, 2015 20:37
Show Gist options
  • Save holman/1fd3d67d74eeb03666b3 to your computer and use it in GitHub Desktop.
Save holman/1fd3d67d74eeb03666b3 to your computer and use it in GitHub Desktop.
add anchors to headings in github pages
diff --git a/_config.yml b/_config.yml
index 8f2dd40..fc83f8e 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,3 +1,6 @@
+markdown: redcarpet
+redcarpet:
+ extensions: [with_toc_data]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment