douban.misaka-1.0.1
توضیحات
The Python binding for Sundown, a markdown parsing library.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | douban.misaka-1.0.1 |
| نام | douban.misaka |
| نسخه کتابخانه | 1.0.1 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Frank Smit |
| ایمیل نویسنده | frank@61924.nl |
| آدرس صفحه اصلی | http://misaka.61924.nl/ |
| آدرس اینترنتی | https://pypi.org/project/douban.misaka/ |
| مجوز | MIT |
Misaka
======
.. image:: https://secure.travis-ci.org/FSX/misaka.png?branch=master
The Python binding for Sundown_, a markdown parsing library.
Documentation can be found at: http://misaka.61924.nl/
.. _Sundown: https://github.com/vmg/sundown
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')
نحوه نصب
نصب پکیج whl douban.misaka-1.0.1:
pip install douban.misaka-1.0.1.whl
نصب پکیج tar.gz douban.misaka-1.0.1:
pip install douban.misaka-1.0.1.tar.gz