Skip to content

sporule/markdown-to-js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Markdown to JS Webpack Plugin

Merge all markdowns and load to one js file

Installation

Node.js

npm install markdown-to-js-webpack-plugin

Usage Example (ES6)

In your Webpack Config file

const MarkdownToJS = require("markdown-to-js-webpack-plugin").default;

//define the options
const option = {
                outputPath: "md.js"
    }

//In the plugin section

 plugins: [
  new MarkdownToJS(option)
 ]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published