rollup-plugin-md
v1.0.1
Published
a rollup plugin for markdown files
Downloads
1,348
Readme
Install
npm install rollup-plugin-md --save
usage
import md from './test.md';
console.log( `Template for render: ${md}` );
import { rollup } from 'rollup';
import md from 'rollup-plugin-md';
rollup({
entry: 'main.js',
plugins: [
md({
// to disable marked set to false
marked: {
//marked options
}
})
]
});