Skip to content

How to extend with new/custom directives/roles/plugins #17

Open
@rowanc1

Description

@rowanc1

Currently this is a dictionary that you pass in to the markdown-it plugin, and if you extend the options, you have to copy all default plugins into the dict.

Other ways to do this could be extending through a setup class/function.

function setup(app: Docutils) {
    app.addDirective('coolDirective', directive)
}

This is similar to how Sphinx works, and would be a layer above markdown-it.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestquestionFurther information is requested

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions