8.0.0 • Published 2 years ago

markdown-loader v8.0.0

Weekly downloads
142,812
License
MIT
Repository
github
Last release
2 years ago

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

8.0.0

2 years ago

7.0.0

2 years ago

6.0.0

3 years ago

5.2.0

3 years ago

5.1.0

5 years ago

5.0.0

5 years ago

4.0.0

6 years ago

3.0.0

6 years ago

2.0.2

6 years ago

2.0.1

7 years ago

2.0.0

7 years ago

0.1.7

9 years ago

0.1.6

9 years ago

0.1.5

9 years ago

0.1.4

9 years ago

0.1.3

9 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago