1

I'm looking for a Python module that can process markdown but where I can disable any of the features (and thus use a custom subset of the markup, while leaving the rest un-processed).

The Markdown module seems extensible, but it I don't see how can I disable certain rules.

The Markdown2 module has something they call "extras", but it's all built in, and the code looks horribly constructed and not easily exstensible.

To be clear, my question here is, does such a module exist, or am I better off implementing my own (or forking one of the above modules).

1 Answer 1

1

Since no-one has responded, we've ended up implementing a subset of Markdown ourselves. None of the markdown engines seem to be extensible enough.

Sign up to request clarification or add additional context in comments.

2 Comments

If you are allowed to do so, it might be worthwhile to link to your work so that others may benefit!
Yes I would also definitely like to see that!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.