markdown
markdown copied to clipboard
A Python implementation of John Gruber’s Markdown with Extension support.
My scenario: I'm using PyMdown Extensions' snippets to insert a fenced code block containing a bash command. The same snippet has a `` block to pull data from another file...
Hi, thank you very much for providing this package. I am currentliy doing a license analysis of markdown and came across the GPL-2.0 license text in [tests/php](https://github.com/Python-Markdown/markdown/blob/fc74d69758ff288e26ff616c703b22ce5a02a68a/tests/php/License). How is the...
Yesterday (2024-10-07), Python 3.13 was released and 3.8 reached end-of-life. This adjusts Python-Markdown's meta-data and tests to match. However, I don't expect to immediately merge this. We can wait until...
Like many other Markdown processors, Python-Markdown does not sanitize its output, meaning that malicious code can be embedded within markdown documents. ```md # Some markdown document alert("Evil laughter") ``` If...
If `` has tags nested underneath it, the `` tag is surrounded by `` tags, breaking the HTML. ```py from markdown import markdown text = """# My Header Test Something...
After upgrading Python 3.14.0b2 to Python 3.14.0b3, I'm seeing the following test failures: ```pytb $ tox -e py314 py314: recreate env because python changed version_info=[3, 14, 0, 'beta', 2]->[3, 14,...
Currently, if you have an attribute without value then attr_list defaults the value to the name of the attribute. For example: ```markdown [download](file.txt){download} ``` is rendered as ```html download ```...
As noted in #1575, there is currently an inconsistence in the way versions are being specified which is breaking links in the API documentation to source code. This stems from...
(**Python Markdown 3.9**; mkdocs 1.6.1 with footnotes extension; Python 3.12) While using mkdocs I stumbled upon this problem: Footnote anchors and footnotes themselves are rendered out of order when, in...
Problem feature would solve: Users want Markdown heading ids that match GitHub-style anchors when using the toc extension. Today toc uses its default slugify which differs on underscores, punctuation, Unicode...