Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ruanyf/turpan
a wrapped markdown renderer based on markdown-it
https://github.com/ruanyf/turpan
markdown
Last synced: about 2 months ago
JSON representation
a wrapped markdown renderer based on markdown-it
- Host: GitHub
- URL: https://github.com/ruanyf/turpan
- Owner: ruanyf
- Created: 2017-03-22T11:00:03.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2024-06-11T03:12:29.000Z (8 months ago)
- Last Synced: 2024-12-12T20:16:18.158Z (2 months ago)
- Topics: markdown
- Language: JavaScript
- Size: 89.8 KB
- Stars: 29
- Watchers: 3
- Forks: 16
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Turpan is a wrapped markdown renderer based on [markdown-it](https://github.com/markdown-it/markdown-it) and a lot of its plugins.
- [markdown-it-abbr](https://github.com/markdown-it/markdown-it-abbr)
- [markdown-it-block-embed](https://github.com/rotorz/markdown-it-block-embed)
- [markdown-it-container](https://github.com/markdown-it/markdown-it-container)
- [markdown-it-deflist](https://github.com/markdown-it/markdown-it-deflist)
- [markdown-it-emoji](https://github.com/markdown-it/markdown-it-emoji)
- [markdown-it-emphasis-alt](https://github.com/jay-hodgson/markdown-it-emphasis-alt)
- [markdown-it-footnote](https://github.com/markdown-it/markdown-it-footnote)
- [markdown-it-implicit-figures](https://github.com/arve0/markdown-it-implicit-figures)
- [markdown-it-imsize](https://github.com/tatsy/markdown-it-imsize)
- [markdown-it-ins](https://github.com/markdown-it/markdown-it-ins)
- [markdown-it-katex](https://github.com/iktakahiro/markdown-it-katex)
- [markdown-it-link-attributes](https://github.com/crookedneighbor/markdown-it-link-attributes)
- [markdown-it-mark](https://github.com/markdown-it/markdown-it-mark)
- [markdown-it-sub](https://github.com/markdown-it/markdown-it-sub)
- [markdown-it-sup](https://github.com/markdown-it/markdown-it-sup)
- [markdown-it-task-lists](https://github.com/revin/markdown-it-task-lists)
- [markdown-it-toc-and-anchor](https://github.com/medfreeman/markdown-it-toc-and-anchor)
- [markdown-it-image-lazy-loading](https://github.com/ruanyf/markdown-it-image-lazy-loading)## How to use
First, install it.
```bash
$ npm install -S turpan
```Then require it in your script.
```javascript
var md = require('turpan');
console.log(md.render('# Hello world'));
//Hello world #
```## License
MIT