| single |
commonmark.py
=============
|No Maintenance Intended|
**Warning:** commonmark.py is now deprecated. We recommend using
`markdown-it-py`_
for a commonmark parser going forward. See `this issue`_ for background
and discussion.
--
commonmark.py is a pure Python port of [jgm]'s
`commonmark.js `__, a
Markdown parser and renderer for the
[CommonMark] specification, using only native
modules. Once both this project and the CommonMark specification are
stable we will release the first ``1.0 version and attempt to keep up
to date with changes in commonmark.js``.
commonmark.py is tested against the CommonMark spec with Python versions
2.7, 3.5, 3.6, 3.7, and 3.8.
**Current version:** 0.9.2
|Pypi Link| |Build Status| |Doc Link|
Installation
------------
::
$ pip install commonmark
Usage
-----
::
>>> import commonmark
>>> commonmark.commonmark('*hello!*')
' hello! \n'
Or, without the syntactic sugar:
:alt: Documentation Status
|