Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rework Markdown support to enable swappable engines #11

Closed
pydsigner opened this issue Aug 15, 2022 · 2 comments
Closed

Rework Markdown support to enable swappable engines #11

pydsigner opened this issue Aug 15, 2022 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@pydsigner
Copy link
Owner

pydsigner commented Aug 15, 2022

Replace md_parser and md_renderer arguments to JinjaMarkdownStep with parse and render methods. Default behavior could be to use commonmark, or to detect several different markdown libraries and use them. Good choices are commonmark, markdown-it-py, markdown, and mistletoe.

@pydsigner pydsigner added the enhancement New feature or request label Aug 20, 2022
@pydsigner
Copy link
Owner Author

Post #6, this should be supplemented with specific subclasses using specific libraries, and the multiple library support in the base class should be modeled with OR-ed dependencies.

@pydsigner pydsigner added the good first issue Good for newcomers label Aug 20, 2022
pydsigner added a commit that referenced this issue Aug 23, 2022
JinjaMarkdownStep only half-works and needs a bigger rework a la #11
@pydsigner
Copy link
Owner Author

commonmark is deprecated and should not be the default: readthedocs/commonmark.py#308

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

1 participant