https://github.com/afeiship/gulp-github-md2html
Gulp plugin for github markdown to html.
https://github.com/afeiship/gulp-github-md2html
github gulp html markdown md
Last synced: about 2 months ago
JSON representation
Gulp plugin for github markdown to html.
- Host: GitHub
- URL: https://github.com/afeiship/gulp-github-md2html
- Owner: afeiship
- Created: 2016-09-23T17:19:06.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2023-03-17T05:11:39.000Z (over 3 years ago)
- Last Synced: 2025-05-16T03:31:59.715Z (about 1 year ago)
- Topics: github, gulp, html, markdown, md
- Language: JavaScript
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gulp-github-md2html
> Gulp plugin for github markdown to html.
## installation
```shell
# public
yarn add --dev @jswork/gulp-github-md2html
```
## usage
```js
"use strict";
const gulp = require('gulp');
const md2html = require('@jswork/gulp-github-md2html');
const rename = require('gulp-rename');
gulp.task('demo', function () {
return gulp
.src('src/*.md')
.pipe(md2html())
.pipe(rename({ extname: '.html' }))
.pipe(gulp.dest('dist'));
});
gulp.task('default', gulp.series(['demo']));
```