Skip to content

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

Notifications You must be signed in to change notification settings

vitorveiga/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

Languages

  • JavaScript 100.0%