Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/bonniernews/md2html
Markdown to html
https://github.com/bonniernews/md2html
Last synced: about 1 month ago
JSON representation
Markdown to html
- Host: GitHub
- URL: https://github.com/bonniernews/md2html
- Owner: BonnierNews
- License: mit
- Created: 2019-02-20T08:10:25.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-03-15T16:17:15.000Z (over 5 years ago)
- Last Synced: 2024-10-12T17:01:50.778Z (about 1 month ago)
- Language: JavaScript
- Size: 33.2 KB
- Stars: 0
- Watchers: 14
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
MD2HTML
=======[![Build Status](https://travis-ci.org/BonnierNews/md2html.svg?branch=master)](https://travis-ci.org/BonnierNews/md2html)
Markdown to HTML converter.
Supports:
- `#`
- `-`
- `-`
- `*`
- `_`
- `[_Bait_](https://www.example.com)`: links```js
import {render} from 'md2html';const markdown = `
# Headline
With _paragraph 1_.
## Subheadline 2
With __paragraph 2__.
### Subheadline 3
With *paragraph 3*.
#### Subheadline 4
With **paragraph 4**.
##### Subheadline 5
With *__paragraph 5__*.
###### Subheadline _6_
With paragraph 6.
- Item 1
- Item 2
- Sub item 1
- Item 3`;console.log(render(markdown));
```