prism-markdown-loader

1.0.1 • Public • Published

prism-markdown-loader

prism-markdown-loader for webpack

Installation

npm install prism-markdown-loader

Usage

Since markdown-it's output is HTML, it's best served in conjunction with the html-loader.

Webpack

{
    module: {
        rules: [{
                test: /\.md$/,
                use: [
                    {
                        loader: "html-loader"
                    },
                    {
                        loader: "prism-markdown-loader",
                        options: {
                            /* your options here */
                        }
                    }
                ]
            }]
    }
}

Options

Pass your markdown-it options as shown above.

License

MIT (http://www.opensource.org/licenses/mit-license.php)

Package Sidebar

Install

npm i prism-markdown-loader

Weekly Downloads

0

Version

1.0.1

License

MIT

Unpacked Size

2.77 kB

Total Files

4

Last publish

Collaborators

  • eastlee