# webpack-md-loader

> A webpack-md-loader for webpack using markdown-it.

Latest version **1.0.0** (published 2020-08-24) · ISC license · 0 weekly downloads

## Install

```sh
npm install webpack-md-loader
pnpm add webpack-md-loader
yarn add webpack-md-loader
bun add webpack-md-loader
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2020-08-24 |
| First published | 2020-08-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | ling |
| Maintainers | aurora-lingd |
| Keywords | markdown, loader, webpack |

## Links

- npm: https://www.npmjs.com/package/webpack-md-loader
- npm.io page: https://npm.io/package/webpack-md-loader

## Alternatives

- [@mdxeditor/editor](https://npm.io/package/@mdxeditor/editor.md) — 962.4K weekly downloads
- [mmdb-lib](https://npm.io/package/mmdb-lib.md) — 680.9K weekly downloads
- [playcanvas](https://npm.io/package/playcanvas.md) — 36.2K weekly downloads
- [@glw907/cairn-cms](https://npm.io/package/@glw907/cairn-cms.md) — 967 weekly downloads
- [markdown-to-confluence](https://npm.io/package/markdown-to-confluence.md) — 103 weekly downloads

## Recent versions

- 1.0.0 (latest) — 2020-08-24

## README

## webpack-md-loader
A webpack-md-loader for webpack using markdown-it.

## Installation

```bash
npm install --save-dev webpack-md-loader
```

## Usage

```
const path = require('path')
const HtmlWebpackPlugin = require('html-webpack-plugin')


module.exports = {
  entry: {
    index: './src/index.js',
  },
  module: {
    rules: [
      {
        test: /\.md$/,
        use: [
          {
            loader: 'html-loader'
          },
          {
            loader: 'webpack-md-loader',
            options: {
              html:true
            }
          }
        ]
      },
    ]
  },
  plugins: [
    new HtmlWebpackPlugin({
      filename: 'index.html',
      template: './src/views/index.html'
    }),
  ]
}
```

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