JSPM

@kdupress/markdown-loader

1.8.1
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q24826F
  • License MIT

markdown-loader for kdupress

Package Exports

  • @kdupress/markdown-loader
  • @kdupress/markdown-loader/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@kdupress/markdown-loader) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

@kdupress/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('@kdupress/markdown-loader'))
    .options({
       markdown: /* instance created by @kdupress/markdown */,
       sourceDir: /* root source directory of your docs */,
    })