Python-Markdown extension for easy changelog tagging
Project description
Markdown-changelog
Markdown extension to enable easy addition of changelog badges to your documentation
Installation
The easiest way to install markdown-changelog is to use pip
pip install markdown-changelog
Usage
import markdown
text = """;;fix;;"""
md = markdown.Markdown(extensions=["changelog"])
md.convert(text)
'<p><span class="badge badge-fix">Fix</span></p>'
# or
md = markdown.Markdown(extensions=["markdown_changelog.changelog"])
md.convert(text)
'<p><span class="badge badge-fix">Fix</span></p>'
# or
from markdown_changelog import ChangelogExtension
md = markdown.Markdown(extensions=[ChangelogExtension()])
md.convert(text)
'<p><span class="badge badge-fix">Fix</span></p>'
Supported tags
The following tags are supported by default:
- ;;fix;;
- ;;change;; (or ;;changes;;, ;;changed;;)
- ;;improvement;; (or ;;improvements;;, ;;enhancement;;, ;;enhancements;;)
- ;;new;; (or ;;feature;;)
- ;;efficiency;;
- ;;docs;; (or ;;documentation;;)
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file markdown_changelog-0.0.2.tar.gz.
File metadata
- Download URL: markdown_changelog-0.0.2.tar.gz
- Upload date:
- Size: 6.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b0e8ad330984ab676c0129041a6ecb66fcf0658f782ed4651922778797c78cd6
|
|
| MD5 |
ca3d4e99dedf47a25b12baad7b2fc0d7
|
|
| BLAKE2b-256 |
fbb33e6fef799a525a4a5fd2e3ddb6821776d6492fb1058f089f46186308e74d
|
File details
Details for the file markdown_changelog-0.0.2-py2.py3-none-any.whl.
File metadata
- Download URL: markdown_changelog-0.0.2-py2.py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
72a87738b940277e3327efe63973ae7223a6e8edd5263b291f9aaaeb36336dcd
|
|
| MD5 |
0c7f52445354220d4be567ecbac0e590
|
|
| BLAKE2b-256 |
e1cf85e5b7ba7a3d1ae8b40a95a6c780c84c01044b814042634cecbc352d37e9
|