Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/xiaofuzi/rollup-plugin-md
a markdown rollup plugin.
https://github.com/xiaofuzi/rollup-plugin-md
Last synced: about 2 months ago
JSON representation
a markdown rollup plugin.
- Host: GitHub
- URL: https://github.com/xiaofuzi/rollup-plugin-md
- Owner: xiaofuzi
- Created: 2016-08-11T05:57:35.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-05T12:37:53.000Z (about 2 years ago)
- Last Synced: 2024-02-15T10:35:56.101Z (10 months ago)
- Language: JavaScript
- Size: 59.6 KB
- Stars: 23
- Watchers: 2
- Forks: 3
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome - md - Import and compile markdown files. (Plugins / Other File Imports)
README
# rollup-plugin-md
## Install```node
npm install rollup-plugin-md --save
```## usage
```js
import md from './test.md';
console.log( `Template for render: ${md}` );
``````js
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
}
})
]
});
```