Squashed 'themes/codex/' content from commit da2d16a
git-subtree-dir: themes/codex git-subtree-split: da2d16a4f95fc37e71548dfc139d51e22ebb09bd
This commit is contained in:
2
layouts/partials/anchored-headings.html
Normal file
2
layouts/partials/anchored-headings.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<!-- formats .Content headings by adding an anchor -->
|
||||
{{ . | replaceRE "(<h[2-3] id=\"([^\"]+)\".+)(</h[2-9]+>)" "${1}<a class=\"anchor\" href=\"#${2}\">#</a>${3}" | safeHTML }}
|
||||
Reference in New Issue
Block a user