A random python-markdown extension
Python
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
mdx_headerextras
.gitignore
README.md
setup.py

README.md

A simple module that creates id's from the heading's text (excluding any HTML) and can adjust the starting level of headings.

Example: subject = "# What a nice day!" html = markdown.markdown(subject, ['headerextras(level=2, prefix=section-)'])

# <h2 id="section-what-a-nice-day">What a nice day!</h2>