The Python binding for Sundown, a markdown parsing library.
Project description
The Python binding for Sundown, a markdown parsing library.
Documentation can be found at: http://misaka.61924.nl/
Installation
Cython is only needed to compile .pyx file.
With pip:
pip install douban.misaka
Or manually:
python setup.py install
Example
Very simple example:
from douban.misaka import Markdown, HtmlRenderer
rndr = HtmlRenderer()
md = Markdown(rndr)
print md.render('some text')
Or:
import douban.misaka as m
print m.html('some other text')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
douban.misaka-1.0.1.tar.gz
(84.4 kB
view details)
File details
Details for the file douban.misaka-1.0.1.tar.gz.
File metadata
- Download URL: douban.misaka-1.0.1.tar.gz
- Upload date:
- Size: 84.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
80b2cfef56af7696f00106cf66d51b63850573eab7796c6993413da7adf1e5b5
|
|
| MD5 |
e91befd77ae30bfcac92dfdcf855a946
|
|
| BLAKE2b-256 |
89a8c6c15dde73709c60b6e54010c7a269b7c299add5b10cabf552df835594bc
|