Skip to content
This repository was archived by the owner on May 4, 2018. It is now read-only.

Latest commit

 

History

History
39 lines (32 loc) · 1.32 KB

File metadata and controls

39 lines (32 loc) · 1.32 KB

Markdown (marked + highlight.js) loader for webpack

npm travis climate gratipay

Install

$ npm i -S markdown-highlight-loader

Usage

/*
include highlight.js theme styles, for example in "vendor" chunk:
entry: {
    vendor: [

        'highlight.js/styles/railscasts.css'
    ],

}
*/
module: {
    loaders: [ {
        test: /\.md$/,
        loader: 'html!markdown-highlight'
        // loader: 'html!markdown-highlight?+breaks&-smartLists'
    } ]
}

Documentation: Using loaders.

License

WTFPL