https://github.com/afeiship/github-md2html
Convert Markdown to HTML effortlessly with github-md2html.
https://github.com/afeiship/github-md2html
api gh github html markdown
Last synced: about 1 month ago
JSON representation
Convert Markdown to HTML effortlessly with github-md2html.
- Host: GitHub
- URL: https://github.com/afeiship/github-md2html
- Owner: afeiship
- License: mit
- Created: 2020-07-05T14:11:19.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2023-03-16T23:07:25.000Z (about 3 years ago)
- Last Synced: 2025-03-11T09:03:33.437Z (over 1 year ago)
- Topics: api, gh, github, html, markdown
- Language: TypeScript
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# github-md2html
> Convert Markdown to HTML effortlessly with github-md2html.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```shell
npm install @jswork/github-md2html
```
## usage
```js
import md2html from '@jswork/github-md2html';
const mdstr = fs.readFileSync('Hello **world**');
const html = md2html(mdstr);
//
Hello world
```
## license
Code released under [the MIT license](https://github.com/afeiship/github-md2html/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/github-md2html
[version-url]: https://npmjs.org/package/@jswork/github-md2html
[license-image]: https://img.shields.io/npm/l/@jswork/github-md2html
[license-url]: https://github.com/afeiship/github-md2html/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/github-md2html
[size-url]: https://github.com/afeiship/github-md2html/blob/master/dist/github-md2html.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/github-md2html
[download-url]: https://www.npmjs.com/package/@jswork/github-md2html