Skip to content

Support for Markdown extensions#4

Merged
simonw merged 7 commits intomasterfrom
markdown-extensions
Mar 24, 2020
Merged

Support for Markdown extensions#4
simonw merged 7 commits intomasterfrom
markdown-extensions

Conversation

@simonw
Copy link
Owner

@simonw simonw commented Mar 23, 2020

Refs #2

)


def test_extensions():
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

or {}
)
extensions = config.get("extensions") or []
extra_tags = config.get("extra_tags") or []
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

extra_tags mechanism is necessary because extensions such as tables use HTML tags from outside the initial Bleach whitelist. I need to document this mechanism.

@simonw simonw changed the title WIP extensions support Suppor for Markdown extensions Mar 24, 2020
@simonw simonw changed the title Suppor for Markdown extensions Support for Markdown extensions Mar 24, 2020
@simonw simonw marked this pull request as ready for review March 24, 2020 19:45
@simonw simonw merged commit 740478b into master Mar 24, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant