markdown-loader
markdown-loader for webpack
Last updated 12 years ago by peerigon .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ npm install markdown-loader 
SYNC missed versions from official npm registry.

markdown-loader

markdown-loader for webpack using marked.

Version on NPM Semantically released Monthly downloads on NPM
License

Installation

npm install markdown-loader

Minimal requirements:

  • Node >=12.22.9
  • webpack >=5.0.0

Usage

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
            },
          },
        ],
      },
    ],
  },
};

License

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

Sponsors

Current Tags

  • 8.0.0                                ...           latest (5 years ago)

19 Versions

  • 8.0.0                                ...           5 years ago
  • 7.0.0                                ...           5 years ago
  • 6.0.0                                ...           6 years ago
  • 5.2.0 [deprecated]           ...           6 years ago
  • 5.1.0                                ...           7 years ago
  • 5.0.0                                ...           8 years ago
  • 4.0.0                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 2.0.2                                ...           9 years ago
  • 2.0.1                                ...           9 years ago
  • 2.0.0                                ...           10 years ago
  • 0.1.7                                ...           11 years ago
  • 0.1.6                                ...           11 years ago
  • 0.1.5                                ...           11 years ago
  • 0.1.4                                ...           11 years ago
  • 0.1.3                                ...           11 years ago
  • 0.1.2                                ...           12 years ago
  • 0.1.1                                ...           12 years ago
  • 0.1.0                                ...           12 years ago
Maintainers (1)
Downloads
Total 34
Today 0
This Week 0
This Month 30
Last Day 0
Last Week 5
Last Month 3
Dependencies (0)
None
Dev Dependencies (0)
None
Dependents (1)

© 2010 - cnpmjs.org x YWFE | Home | YWFE