Package Exports
- gulp-markdown2bootstrap
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-markdown2bootstrap) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
gulp-markdown2bootstrap
markdown to html bootstrap page converter
Issues with the output should be reported on the marked issue tracker.
Install
$ npm install --save-dev gulp-markdown2bootstrapUsage
var gulp = require('gulp');
var markdown2bootstrap = require('gulp-markdown2bootstrap');
gulp.task('default', function () {
return gulp.src('intro.md')
.pipe(markdown2bootstrap({
theme: 'cerulean'
}))
.pipe(gulp.dest('dist'));
});DEMO
API
markdown2html(options)
See the marked options.
theme
Specify the bootswatch theme. see other themes
Type: String
Default: pure bootstrap
highlightTheme
Specify the highlightjs theme. see other themes
Type: String
Default: github
markdown.marked
Access the marked object to customize the lexer, parser or renderer.
License
MIT © mitsuruog