1.1.0 • Published 1 month ago

marked-webpack-plugin v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 month ago

marked-webpack-plugin

A webpack5 plugin for markdown to html

Usage

add this plugin:

yarn add marked-webpack-plugin -D

configure the plugin:

new MarkedWebpackplugin({
  input: path.resolve(__dirname, "./CHANGELOG.md"),
  output: path.resolve(__dirname, "./CHANGELOG.html"),
  title: "change log",
  template: path.resolve(__dirname, "./template.html"),
})

Configuration Settings

OptionRequiredTypeDefaultAbout
inputyesstringnoneThe markdwon file that needs to be converted to html
outputyesstringnoneThe output html file
titlenostring"change log"html title
templatenostring"dist/template.html"Template file
1.1.0

1 month ago

1.0.1

3 months ago

1.0.0

7 months ago