Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/FSX/misaka
A Python binding for Hoedown.
https://github.com/FSX/misaka
c cffi hoedown markdown python
Last synced: about 2 months ago
JSON representation
A Python binding for Hoedown.
- Host: GitHub
- URL: https://github.com/FSX/misaka
- Owner: FSX
- License: mit
- Archived: true
- Created: 2011-04-27T22:40:27.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2022-09-23T21:29:33.000Z (over 2 years ago)
- Last Synced: 2024-10-04T22:36:18.662Z (3 months ago)
- Topics: c, cffi, hoedown, markdown, python
- Language: C
- Homepage: http://misaka.61924.nl
- Size: 1.7 MB
- Stars: 419
- Watchers: 14
- Forks: 65
- Open Issues: 9
-
Metadata Files:
- Readme: README.rst
- Funding: .github/FUNDING.yml
- License: LICENSE.txt
Awesome Lists containing this project
README
**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`_.
.. _mistletoe: https://github.com/miyuchina/mistletoe
.. _Mistune: https://github.com/lepture/mistuneMisaka
======.. image:: https://img.shields.io/pypi/v/misaka.svg
:target: https://pypi.python.org/pypi/misaka.. image:: https://img.shields.io/pypi/dm/misaka.svg
:target: https://pypi.python.org/pypi/misaka.. image:: https://img.shields.io/travis/FSX/misaka.svg
:target: https://travis-ci.org/FSX/misakaA CFFI binding for Hoedown_ (version 3), a markdown parsing library.
Documentation can be found at: http://misaka.61924.nl/
.. _Hoedown: https://github.com/hoedown/hoedown
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`_... _Tidelift Subscription: https://tidelift.com/subscription/pkg/pypi-misaka?utm_source=pypi-misaka&utm_medium=referral&utm_campaign=readme
.. _`donation`: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=FB6NWEJC87BJY¤cy_code=EUR&source=urlInstallation
------------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:
.. code:: python
import misaka as m
print m.html('some other text')Or:
.. code:: python
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.