Python parser for the CommonMark Markdown spec

Edit Package python-CommonMark

Pure Python port of jgm’s stmd.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 stmd.js.

We are currently at the same development stage (actually a bit ahead because we
have implemented HTML entity conversion and href URL escaping) as stmd.js. Since
Python versions pre-3.4 use outdated (i.e. not HTML5 spec) entity conversion,
I’ve converted the 3.4 implementation into a single file, entitytrans.py which
so far seems to work (all tests pass on 2.7, 3.3, and 3.4).

Refresh
Refresh
Source Files
Filename Size Changed
commonmark-0.8.1.tar.gz 0000090795 88.7 KB
python-CommonMark.changes 0000004283 4.18 KB
python-CommonMark.spec 0000002392 2.34 KB
Revision 7 (latest revision is 16)
Dominique Leuenberger's avatar Dominique Leuenberger (dimstar_suse) accepted request 681781 from Tomáš Chvátal's avatar Tomáš Chvátal (scarabeus_iv) (revision 7)
- Update to 0.8.1:
  * Added the Node.normalize() method. (from @lez)
  * Renamed package name to commonmark for PEP8 compliance. You can now do import commonmark as well as import CommonMark. Closes #60
  * Added testing on Python 3.7.
  * Removed CommonMark symlink. So, as of this version, you need to replace all instances of CommonMark with commonmark in your code.
- Remove the not-needed subpackages
- Run the tests
Comments 0
openSUSE Build Service is sponsored by