markdown
markdown copied to clipboard
A Python implementation of John Gruber’s Markdown with Extension support.
``` [TOC] # Header 1 ``` will currently generate the following HTML: ``` Header 1 Header 1 ``` The `div` element cannot be changed and so it is for the...
Since setuptools>=64 is is possible to fully replace setup.py and .cfg with pyproject.toml. It even works with editable installs, i.e. `pip install -e .`. This PR removes the former two...
this makes it consistent with the spelling of the other processors. This PR also adds an alias of the old BlockProcessor to the new Blockprocessor for backwards compatibility.
…ds compatibility. Closes: #815
I want to add a space at the end of some sentences as I am using this for a website with the specific requirement. However, I can't due to the...
- All postprocessors are run on heading content (not just `RawHtmlPostprocessor`). - Footnote references are stripped from heading content. Fixes #660. - A more robust `striptags` is provided to convert...
Hi, When using the "extra" extensions, some invalid markdowns (i think?) are causing exceptions rather than returning plaintext line. Example: ``` txt = """ *[^1^]: This is going to crash...
It seems that a common request is to have a stand-alone image rendered as a figure with a figcaption. e.g.: ```markdown  ``` should be rendered...
The default behavior is for search to use the heading of the relevant section as the title of the search result. However, the code spans within headings of the API...