mikoto

better Markdown Render


License
BSD-3-Clause
Install
pip install mikoto==0.0.4

Documentation

Markdown Render Library for Douban Code

Build Status Code Quality PyPI version

Mikoto 是什么

Mikoto 是 CODE 的 Markdown, reStructuredText 渲染库。 基于 Misaka,CODE 使用的渲染相关的方法单独封装了一个库,支持emoji,Task List等高级特性。

Installation

pip install mikoto

使用方法

代码

>>> from mikoto.libs.text import render
>>> render(markdown_content)

命令行

mikoto -f README.md

Demo Site

https://github.com/qingfeng/mikoto_demo

具体效果

# 富士之风

扇携富士风 送礼回江户

    ```python
    >>> import this
    ```

- [x] 显示标题
- [x] 显示代码
- [x] 显示俳句
- [ ] つづき

:beer:

渲染结果