Skip to content

Add an eval_rst directive #164

@choldgraf

Description

@choldgraf

In #163 we identified that there may be circumstances where the author still needs to write rST with MyST. For example, if a person uses autodoc and wants their documentation written in MyST, but has docstrings written in rST.

In that case, we could include a directive like recommonmark's eval_rst that will call the rST parser on its content.

Another possible approach (maybe this is unrealistic?) is to allow for a flag in all directives used by MyST-parser that could tell the directive to parse the content with the rST parser instead of the MyST parser.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions