0.1.0 • Published 5 years ago

pagoda-markdown-loader v0.1.0

Weekly downloads
4
License
MIT
Repository
github
Last release
5 years ago

pagoda-markdown-loader

Simple and fast vue markdown loader, transform markdown to vue component.

Install

NPM

npm i pagoda-markdown-loader -S

YARN

yarn add pagoda-markdown-loader

Options

  • copy: Whether it can be copied. Default ['javascript', 'js', 'html'] will be copy.

    • type
      • boolean whether copy by default
      • string only type copy
      • array multiple types copy
  • enableMetaData: Default false. Whether to use front-matter to extract markdown meta data

  • wrapper(html, fm): Format the returned content using a custom function

    • html: The result of markdown-it's render
    • fm: See fm(string). If enableMetaData option is false, the value is undefined.
      • attributes
      • body
      • frontmatter

inspiration

inspiration from Vant-markdown-loader

0.1.0

5 years ago

0.0.13

5 years ago

0.0.12

5 years ago

0.0.11

5 years ago

0.0.10

5 years ago

0.0.9

5 years ago

0.0.8

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

5 years ago

0.0.2

5 years ago

0.0.1

5 years ago