Miss any of our Open RFC calls?Watch the recordings here! »

markdownloader

1.0.6 • Public • Published

markdownloader

Install

npm install html-loader@0.4.5 --save-dev
npm install markdown-loader@0.1.7 --save-dev
npm install markdownloader --save-dev

Usage

webpack.config.js

const markdownLoader = require('markdownloader').renderer;
 
 
module.exports={
    ...
    module: {
        [{
            test: /\.md$/,
            loader: 'html!markdown'
        },
        ...
        ]
    },
    markdownLoader
}

Exmaple

import { Markdown } from 'markdownloader';
import 'markdownloader/less/highlight.less'
 
 
<Markdown>
    {require('./README.md')}
</Markdown>
 
 

dependency

  • markdown-loader@0.1.7
  • html-loader@0.4.5

Install

npm i markdownloader

DownloadsWeekly Downloads

2

Version

1.0.6

License

MIT

Last publish

Collaborators

  • avatar