Post Replacement Substitutions

The line break character, +, is replaced when the post_replacements substitution step runs.

Default post replacements substitution

Table 1 lists the specific blocks and inline elements the post replacements substitution step applies to automatically.

Table 1. Blocks and inline elements subject to the post replacements substitution
Blocks and elements Substitution step applied by default

Attribute entry values

No

Comments

No

Examples

Yes

Headers

No

Literal, listings, and source

No

Macros

Yes
(except passthrough macros)

Open

Yes

Paragraphs

Yes

Passthrough blocks

No

Quotes and verses

Yes

Sidebars

Yes

Tables

Varies

Titles

Yes

post_replacements substitution value

The post replacements substitution step can be modified on blocks and inline elements. For blocks, the step’s name, post_replacements, can be assigned to the subs attribute. For inline elements, the built-in values p or post_replacements can be applied to inline text to add the post replacements substitution step.