Monospace text formatting is often used to emulate how source code appears in computer terminals, simple text editors, and integrated development environments (IDEs).
In Asciidoctor 1.5, inline content is rendered using a fixed-width font, i.e., monospaced font, when it is enclosed in a single set of backticks (
A character bounded by other characters must be enclosed in a double set of backticks (
"`Wait!`" Indigo plucked a small vial from her desk's top drawer and held it toward us. The vial's label read: E=mc^2^; `the scent of science`; `_smell like a genius_`.
Monospaced text can be bold and italicized, as long as the markup sets are entered in the right order. The monospace markup must be the outermost set, then the bold set, and the italic markup must always be the innermost set.
“Wait!” Indigo plucked a small vial from her desk’s top drawer and held it toward us.
The vial’s label read: E=mc2;
the scent of science;
smell like a genius.