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

deepsweet/markdown-highlight-loader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

🏭 Markdown (marked + highlight.js) loader for webpack

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published