Skip to main content

better Markdown Render

Project description

Markdown Render Library for Douban Code
====

[![Build Status](https://travis-ci.org/qingfeng/mikoto.png)](https://travis-ci.org/qingfeng/mikoto)
[![Code Quality](https://landscape.io/github/qingfeng/mikoto/master/landscape.png)](https://landscape.io/github/qingfeng/mikoto/master)

### 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:

```

![渲染结果](http://douban-code.github.io/images/mikoto_result.png)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for mikoto, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size mikoto-0.0.3.tar.gz (9.7 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page