Skip to content

dagda1/rollup-plugin-md

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@cutting/rollup-plugin-md

markdown plugin for rollup using marked.

Forked from rollup-plugin-md.

Install

# npm
npm install @cutting/rollup-plugin-md --save

# yarn
yarn add @cutting/rollup-plugin-md -D

usage

import md from './test.md';
console.log( `Template for render: ${md}` );
import { rollup } from 'rollup';
import { md } from '@cutting/rollup-plugin-md';

rollup({
  entry: 'main.js',
  plugins: [
    md({
      marked: {
        //marked options
      }
    })
  ]
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published