Quarto is rendering "--" to "–" #3828
-
Helllo. "How can I make Quarto render '--' as two hyphens instead of '–'? I am seeing Quarto using the character '–' instead of '--' in some of my documents and I would like to know how I can fix this problem. Is there any configuration or function I can use to force Quarto to use two hyphens instead of the '–' character? Any help would be greatly appreciated." example.qmd after render to html example.html |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
The
Or you can just escape the dashes like so:
HTH! |
Beta Was this translation helpful? Give feedback.
-
FYI, behaviour related to an issue with shortcodes: #3744 |
Beta Was this translation helpful? Give feedback.
The
--
is being converted to an en dash. You can disable this 'smart' behavior like so:Or you can just escape the dashes like so:
HTH!