Re: How to use curly quotes in monospaced block?
Posted by
Alexander Schwartz on
Jul 28, 2019; 10:44am
URL: https://discuss.asciidoctor.org/How-to-use-curly-quotes-in-monospaced-block-tp7020p7021.html
I see at least two possibilities to add (typographic) curly quotes:
- use unicode characters
- enable macros as described in AsciiDoc Writers's Guide: Inline pass macro and explicit substitutions
The two examples below will lead to the same output:
Unicode variant:
----
myapp/myapp.rs # “executable”
myapp/myapp_test.rs # tests
----
Macro variant:
[subs=+macros]
----
myapp/myapp.rs # pass:quotes["`executable`"]
myapp/myapp_test.rs # tests
----