1.5.1 • Published 2 years ago

@nkduy/markdown-loader v1.5.1

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

@nkduy/markdown-loader

markdown-loader for KduPress

Usage

const rule = config.module
    .rule('markdown')
      .test(/\.md$/)

rule
  .use('kdu-loader')
    .loader('kdu-loader')
    .options({ /* ... */ })

rule
  .use('markdown-loader')
    .loader(require.resolve('@nkduy/markdown-loader'))
    .options({
       markdown: /* instance created by @nkduy/markdown */,
       sourceDir: /* root source directory of your docs */,
    })