Skip to content

Support loading plugins with config.#307

Open
benghancock wants to merge 1 commit intoventhur:masterfrom
benghancock:feat/support-more-markdown-plugins
Open

Support loading plugins with config.#307
benghancock wants to merge 1 commit intoventhur:masterfrom
benghancock:feat/support-more-markdown-plugins

Conversation

@benghancock
Copy link

Hi @venthur !

Thanks for creating blag. I really enjoy using it, and have put together a proposed feature enhancement that I hope fits with the goals of the project. I'd welcome any feedback. Let me know if these changes don't mesh with the design, are too broad in scope, or just don't pass muster for another reason.

Rationale

Python-Markdown supports a number of extensions, and users of blag may wish to utilize those beyond the defaults. This set of changes supports loading those extensions by adding a line to their configuration file, while adding some checks to make sure that an error is raised if a non-existent extension is named.

This work was started some time ago and initially motivated by blag's lack of support for the footnotes extension, which is now supported. Still, I thought I would submit these changes in case other users want to easily make use of other extensions (as in #302) that are not currently supported out of the box.

Python-Markdown supports a number of extensions, and users of `blag` may
wish to utilize those beyond the defaults. This set of changes supports
loading those extensions by adding a line to the configuration file,
while adding some checks to make sure that an error is raised if a
non-existent extension is named.
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