Skip to content

Usage example #44

Open
Open
@zmoon

Description

@zmoon

Context

The usage example

from markdown_it import MarkdownIt
from mdit_py_plugins import plugin1, plugin2
md = MarkdownIt().use(plugin1, keyword=value).use(plugin2, keyword=value)
html_string = md.render("some *Markdown*")

is, I feel, a little misleading, since the plugins can't actually be imported directly from the top-level mdit_py_plugins module currently.

Proposal

Maybe a real example would be better?

Tasks and updates

No response

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