Skip to content
forked from FSX/misaka

The Python binding for Sundown, a markdown parsing library. Go to https://github.com/hhatto/python-hoedown for a Hoedown binding.

License

Notifications You must be signed in to change notification settings

lovejavaee/misaka

 
 

Repository files navigation

WARNING: Misaka is not being maintained anymore. I've not been able to find time to to properly maintain this project. Consider using mistletoe or Mistune.

Misaka

A CFFI binding for Hoedown (version 3), a markdown parsing library.

Documentation can be found at: http:https://misaka.61924.nl/

Professional support

Professional support for Misaka is available as part of the Tidelift Subscription. Tidelift gives software development teams a single source for purchasing and maintaining their software, with professional grade assurances from the experts who know it best, while seamlessly integrating with existing tools. By subscribing you will help support Misaka future development. Alternatively consider making a small donation.

Installation

Misaka has been tested on CPython 2.7, 3.5, 3.6, 3.7, 3.8 and PyPy 2.7 and 3.5. It needs CFFI 1.12.0 or newer, because of this it will not work on PyPy 2.5 and older.

With pip:

pip install 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'))

Security contact information

To report a security vulnerability, please use the Tidelift security contact. Tidelift will coordinate the fix and disclosure.

About

The Python binding for Sundown, a markdown parsing library. Go to https://github.com/hhatto/python-hoedown for a Hoedown binding.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C 44.6%
  • HTML 30.3%
  • Python 24.9%
  • Shell 0.2%