docs: Do not convert -- & --- to en/em-dash
authorTimothée Ravier <tim@siosm.fr>
Mon, 11 Oct 2021 10:29:21 +0000 (12:29 +0200)
committerTimothée Ravier <tim@siosm.fr>
Mon, 11 Oct 2021 10:29:32 +0000 (12:29 +0200)
'--' is frequently used for command line options and was thus
incorrectly rendered as a special en-dash symbol.

docs/_config.yml

index 44135c82b95601cd5da5aa45386e40d01fd763f5..ed1c2a63105a6f99345ce0f7134300a1d4e56091 100644 (file)
@@ -6,6 +6,10 @@ url: "https://ostreedev.github.io"
 # url: "http://localhost:4000"
 permalink: /:title/
 markdown: kramdown
+kramdown:
+  typographic_symbols:
+    ndash: "--"
+    mdash: "---"
 
 # Exclude the README and the bundler files that would normally be
 # ignored by default.