Skip to content

Commit

Permalink
fix: add heading-anchors
Browse files Browse the repository at this point in the history
Allows linkable headings with minimal javascript.
  • Loading branch information
elken committed Dec 12, 2023
1 parent 3a4106f commit 16599e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/quickblog/internal.clj
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,7 @@
(-> markdown
pre-process-markdown
(md/md-to-html-string-with-meta :reference-links? true
:heading-anchors true
:code-style
(fn [lang]
(format "class=\"lang-%s\"" lang)))
Expand Down

0 comments on commit 16599e9

Please sign in to comment.