Skip to content

Add substitution syntax(?) #172

Closed
@SG-phimeca

Description

@SG-phimeca

Adding the following into conf.py

rst_prolog = """
.. |xyzzy| replace:: Nothing happens.
"""

allows to replace |xyzzy| by Nothing happens. in all ReST source files but not in Markdown files.
This would be a very useful feature, for instance for inline images, or simply to have a system for macros.

Metadata

Metadata

Assignees

No one assigned

    Labels

    discussionno fixed close conditionenhancementNew feature or requestsyntaxdescisions on syntax formats

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions