Asciidoctor::Substitutors
Module included in AbstractBlock subclasses to provide text substitution capabilities.
Instance methods
Apply the specified substitutions to the text.
Apply substitutions to a String value (convenience for AttributeList).
Extract the callout numbers from the source to prepare it for syntax highlighting.
Extract passthrough text from the document for reinsertion after processing.
Highlight the source code in the given text using the syntax highlighter registered with the document, if available.
Normalize text by stripping whitespace and folding newlines.
Parse inline attributes from an attrlist string.
Parse quoted text attributes (role and id shorthand).
Resolve block substitutions.
Resolve the line numbers in the specified source to highlight from the provided spec.
Resolve pass substitutions.
Resolve comma-delimited subs against the possible options.
Restore the callout numbers to the highlighted source.
Restore the passthrough text by reinserting into the placeholder positions.
Split text formatted as CSV with support for double-quoted values.
Substitute post replacements (hard line breaks).
Substitute source code with optional callout processing.