baoanj / webpack-md-html-loader

Webpack loader for markdown file to html string

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Webpack loader for markdown file to html string

$ npm install webpack-md-html-loader -D

vue.config.js

module.exports = {
  chainWebpack: config => {
    config.module
      .rule('md-html')
      .test(/\.md$/)
      .use('md-html')
      .loader('webpack-md-html-loader')
      .end()
  }
}

About

Webpack loader for markdown file to html string


Languages

Language:JavaScript 100.0%