A FarBox flavored Markdown parser (by Misaka Markdown parser).
Project description
A CFFI binding for Hoedown (version 3), a markdown parsing library.
Documentation can be found at: http://misaka.61924.nl/
Installation
Misaka has been tested on CPython 2.6, 2.7, 3.2, 3.3, 3.4, 3.5 and PyPy 2.6. It needs CFFI 1.0 or newer, because of this it will not work on PyPy 2.5 and older.
With pip:
pip install farbox-misaka
Or manually:
python setup.py install
Example
Very simple example:
import misaka as m
print m.html('some other text')
Or:
from misaka import Markdown, HtmlRenderer
rndr = HtmlRenderer()
md = Markdown(rndr)
print(md('some 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
farbox_misaka-0.0.2.tar.gz
(133.1 kB
view details)
File details
Details for the file farbox_misaka-0.0.2.tar.gz
.
File metadata
- Download URL: farbox_misaka-0.0.2.tar.gz
- Upload date:
- Size: 133.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.12.1 pkginfo/1.4.2 requests/2.22.0 setuptools/40.5.0 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/2.7.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1223ec3d9e5248acfd08d490064e8241debc59f104a7c8e0cc864828e75712b3 |
|
MD5 | 3cfb95ee00177ada0ca95e02627cc759 |
|
BLAKE2b-256 | 8e2cbd00793cfc05508524af334e4ab70c95e92b2e791ec092e52da7cc02d10b |