Closed
Description
I typically like solving simple issues like this in open-source software myself, but I'm lost with the Haskell. (I tried to make the title searchable by putting different variants of endash en-dash en dash).
Explain the problem.
❯ pandoc -f latex -t markdown
hello
this is \texttt{--flag} with dashes.
This is the same --flag without a code.
Ctrl-D to close stdin, produces:
hello this is `–flag` with dashes. This is the same --flag without a
code.
Note that this is not a simple dash, but one of the weird ones (like endash or emdash?).
Pandoc version?
pandoc 3.6.3
Features: +server +lua
Linux.