https://github.com/qingfeng/mikoto
Markdown Render Library for Douban Code
https://github.com/qingfeng/mikoto
Last synced: 2 months ago
JSON representation
Markdown Render Library for Douban Code
- Host: GitHub
- URL: https://github.com/qingfeng/mikoto
- Owner: qingfeng
- License: other
- Created: 2013-10-27T09:04:54.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2014-09-20T16:21:35.000Z (over 11 years ago)
- Last Synced: 2025-09-19T10:35:22.347Z (9 months ago)
- Language: Python
- Size: 580 KB
- Stars: 65
- Watchers: 6
- Forks: 7
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Markdown Render Library for Douban Code
====
[](https://travis-ci.org/qingfeng/mikoto)
[](https://landscape.io/github/qingfeng/mikoto/master)
[](http://badge.fury.io/py/mikoto)
### Mikoto 是什么
[Mikoto](https://github.com/qingfeng/mikoto) 是 CODE 的 Markdown, reStructuredText 渲染库。
基于 Misaka,CODE 使用的渲染相关的方法单独封装了一个库,支持emoji,Task List等高级特性。
### Installation
```
pip install mikoto
```
### 使用方法
#### 代码
```python
>>> 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:
```
