Support for typographic correct quotation marks #190
-
Thanks for making this package! I was trying it out and noticed that quotation marks are not rendered correctly. When I input this: This is in "quotation marks". The output is:
But my expected output would be:
I think it would be great if the parser could detect tokens that are within quotation marks and automatically wrap them with See a minimum working example here: \documentclass{article}
\usepackage{markdown}
\markdownSetup{pipeTables,tableCaptions,definitionLists,fencedCode,hybrid}
\begin{document}
\begin{markdown}
# Chapter 1
There was nothing so very remarkable in that; nor did Alice think it so **very** much out
of the way to hear the rabbit say to itself,
"dear, dear! I shall be too late!" (when she thought it over afterwards,
it occurred to her that she ought to have wondered at this,
but at the time it all seemed quite natural); but when
the rabbit actually *took a watch out of its waistcoat-pocket*,
and looked at it, and then hurried on,
Alice started to her feet, for it flashed across her mind that
she had never before seen a rabbit with either a waistcoat-pocket
or a watch to take out of it, and, full of curiosity, she ran across the
field after it, and was just in time to see it pop down
a large rabbit-hole under the hedge. In another moment down
went Alice after it, never once considering how in the world
she was to get out again.
\end{markdown}
\end{document} |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
@mrwunderbar666 Thank you for the proposal. The Markdown package could definitely support quotes as a syntax extension; for example, we already support the \usepackage{csquotes}
\MakeOuterQuote{"} A good programmer is a lazy programmer. If we can leverage existing LaTeX code, perhaps extending the parser is just busywork. |
Beta Was this translation helpful? Give feedback.
@mrwunderbar666 Thank you for the proposal. The Markdown package could definitely support quotes as a syntax extension; for example, we already support the
smartEllipses
option for ellipses. However, in LaTeX, you can just as well use a package such ascsquotes
, which will achieve the same result for you: (source)A good programmer is a lazy programmer. If we can leverage existing LaTeX code, perhaps extending the parser is just busywork.