# markdown-loader

> markdown-loader for webpack

Latest version **8.0.0** (published 2022-01-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install markdown-loader
pnpm add markdown-loader
yarn add markdown-loader
bun add markdown-loader
```

## Health

**Score 20/100 (F)** — status: abandoned.

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 8.0.0 |
| Published | 2022-01-27 |
| First published | 2014-07-15 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | ESM + CommonJS |
| Node | >=12.22.9 |
| Dependencies | 1 |
| Unpacked size | 4.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 372 |
| Author | peerigon |
| Maintainers | thois, jhnns, meaku, peeri, matthaias, leomelzer, antosan, moritzjacobs, hpohlmeyer |
| Keywords | webpack, plugin, markdown, html |

## Links

- npm: https://www.npmjs.com/package/markdown-loader
- Repository: https://github.com/peerigon/markdown-loader
- Issues: https://github.com/peerigon/markdown-loader/issues
- npm.io page: https://npm.io/package/markdown-loader

## Dependencies (1)

- [marked](https://npm.io/package/marked.md) ^4.0.12

## Alternatives

- [@tsparticles/shape-image](https://npm.io/package/@tsparticles/shape-image.md) — 303.7K weekly downloads
- [@tsparticles/shape-line](https://npm.io/package/@tsparticles/shape-line.md) — 233.7K weekly downloads
- [stringify-attributes](https://npm.io/package/stringify-attributes.md) — 58.6K weekly downloads
- [mobile-drag-drop](https://npm.io/package/mobile-drag-drop.md) — 46.3K weekly downloads
- [@comunica/actor-rdf-parse-html](https://npm.io/package/@comunica/actor-rdf-parse-html.md) — 29.2K weekly downloads

## Recent versions

- 8.0.0 (latest) — 2022-01-27
- 7.0.0 — 2022-01-27
- 6.0.0 — 2020-09-29
- 5.2.0 — 2020-09-29
- 5.1.0 — 2019-07-31
- 5.0.0 — 2019-01-11
- 4.0.0 — 2018-08-21
- 3.0.0 — 2018-05-29
- 2.0.2 — 2018-01-08
- 2.0.1 — 2017-07-03
- 2.0.0 — 2017-02-03
- 0.1.7 — 2015-09-04
- 0.1.6 — 2015-08-14
- 0.1.5 — 2015-08-13
- 0.1.4 — 2015-08-06
- … 4 more at https://npm.io/package/markdown-loader/versions

## README

# markdown-loader

**markdown-loader for webpack using [marked](https://github.com/markedjs/marked).**

[![Version on NPM](https://img.shields.io/npm/v/markdown-loader?style=for-the-badge)](https://www.npmjs.com/package/markdown-loader)
[![Semantically released](https://img.shields.io/badge/%20%20%F0%9F%93%A6%F0%9F%9A%80-semantic--release-e10079.svg?style=for-the-badge)](https://github.com/semantic-release/semantic-release)
[![Monthly downloads on NPM](https://img.shields.io/npm/dm/markdown-loader?style=for-the-badge)](https://www.npmjs.com/package/markdown-loader)<br>
[![License](https://img.shields.io/npm/l/markdown-loader?style=for-the-badge)](./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](https://github.com/webpack/html-loader).

```javascript
// 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

[<img src="https://assets.peerigon.com/peerigon/logo/peerigon-logo-flat-spinat.png" width="150" />](https://peerigon.com)

---
_Source: https://npm.io/package/markdown-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
