You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
asciidoctor writer outputs asciidoc quotation marks #5487
There's a difference in the syntax of quotation marks between asciidoc and asciidoctor. But when requesting asciidoctor output, asciidoc quotation marks are output.
Sample input:
"What kind of charm?" Lazarus asked. "An odoriferous one or a mineral
one?"
Output from pandoc -f markdown -t asciidoctor t.md:
``What kind of charm?'' Lazarus asked. ``An odoriferous one or a mineral
one?''
That syntax (using the double-backquotes and double-apostrophes) is correct asciidoc, but not correct asciidoctor syntax: it isn't recognized by the asciidoctor processor.
I guess if pandoc's "smart" extension is disabled (as it is by default), you have to output the specific Unicode characters for the quotation marks.
asciidoctor syntax does have smart quotes, which pandoc could use with the "smart" extension enabled. If you want to use asciidoctor's "smart quotes", the correct output should be:
"`What kind of charm?`" Lazarus asked. "`An odoriferous one or a mineral
one?`"
Activity
rwalkerands commentedon May 6, 2019
Wow, you are awesome.