A python markdown extension for add HTML escaped symbols support
Extends the Python Markdown.
Adds the possibility to use escaped HTML caracters for markdown syntax, such as >
instead of >
for blockquote.
Install through pip:
pip install markdown_escaped
To enable the markdown_escaped package and use it in your markdown generation just add it like so:
import markdown
result = markdown.markdown(textToRender, extensions=["markdown_escaped",])
>
who is>
for blockquote
If you want an other caracter, open an issue or make a PR.
It is a test:
Yes it works! Really good.
The real test:
> And now ? All is good!
Yeah !
'It is a test:\n> Yes it works!\nReally good.\n\nThe real test:\n\n> And now ?\nAll is good!\n\nYeah !'
'<p>It is a test:</p>\n<blockquote>\n<p>Yes it works!\nReally good.</p>\n</blockquote>\n<p>The real test:</p>\n<blockquote>\n<p>And now ?\nAll is good!</p>\n</blockquote>\n<p>Yeah !</p>'