package
markdown-loader for webpack
npm install markdown-loaderGitHub-flavored package documentation.
Across all versions.
Download trend unavailable.
Runtime metadata.
Tagged topics.
Estimated unpacked size across 2 packages.
560.5 kB
Includes dependencies.
markdown-loader for webpack using marked.
npm install markdown-loader
Minimal requirements:
Since marked's output is HTML, it's best served in conjunction with the html-loader.
// webpack.config.js
export default {
module: {
rules: [
{
test: /\.md$/,
use: [
{
loader: "html-loader",
},
{
loader: "markdown-loader",
options: {
// Pass options to marked
// See https://marked.js.org/using_advanced#options
},
},
],
},
],
},
};MIT (http://www.opensource.org/licenses/mit-license.php)