Inline Formatting Syntax Substitutions

The quotes substitution replaces the formatting markup on inline elements.

For example, when a document is converted to HTML, any asterisks enclosing text are replaced with <strong> HTML tags.

Syntax input
Happy werewolves are *really* slobbery.
HTML output
Happy werewolves are <strong>really</strong> slobbery.

The following table shows the HTML markup that is generated by the quotes substitution process.

HTML markup generated from AsciiDoc formatting syntax
Name AsciiDoc HTML

emphasis

_word_

<em>word</em>

strong

*word*

<strong>word</strong>

monospace

`word`

<code>word</code>

superscript

^word^

<sup>word</sup>

subscript

~word~

<sub>word</sub>

double curved quotes

"`word`"

&#8220;word&#8221;

single curved quotes

'`word`'

&#8216;word&#8217;

The quotes substitution occurs on formatted text within title, paragraph, example, quote, sidebar, and verse blocks.

Elements subject to quotes text substitution
Element quotes substitution

Attribute Entry Value

No

Comment

No

Example

Yes

Fenced

No

Header

No

Literal

No

Listing

No

Macro

Yes

Open

Varies

Paragraph

Yes

Passthrough

No

Quote

Yes

Sidebar

Yes

Source

No

Special sections

Yes

Table

Varies

Title

Yes

Verse

Yes