rollup-plugin-md

a rollup plugin for markdown files

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
rollup-plugin-md
1.0.13 years ago8 years agoMinified + gzip package size for rollup-plugin-md in KB

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
            }
        })
    ]
});