Skip to content

Commit

Permalink
docs: disable Goldmark's Typographer -- substitution (#314)
Browse files Browse the repository at this point in the history
Goldmark's Typographer by default substitutes `--` with `&ndash`. This commit disables the default substitution ensuring command line arguments remain accurate.
  • Loading branch information
0xThiebaut authored Mar 6, 2025
1 parent 0e90769 commit f7baf45
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions site/config/_default/markup.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ defaultMarkdownHandler = "goldmark"
[goldmark]
[goldmark.extensions]
linkify = false
[goldmark.extensions.typographer]
enDash = '--'
[goldmark.parser]
autoHeadingID = true
autoHeadingIDType = "github"
Expand Down

0 comments on commit f7baf45

Please sign in to comment.