metalsmith-markdown-taxonomy

0.1.1 • Public • Published

metalsmith-markdown-taxonomy

Version Build Status

A metalsmith plugin to transform markdown into taxonomy structures.

Installation

$ npm install metalsmith-markdown-taxonomy

CLI Usage

Install via npm and then add the metalsmith-markdown-taxonomy key to your metalsmith.json plugins, like so:

{
  "plugins": {
    "metalsmith-markdown-taxonomy": {
      "pattern": "categories/*.md",
    }
  }
}

A file matching the pattern such as categories/colors.md containing:

# Colors

## Red

  * [](truck.md)

## Green

  * [](apple.md)
  * [](apple.md)

Will add a color tag for files that are in the bullet lists i.e. { "colors": "Red" } will be merged in the truck.md file's metadata.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i metalsmith-markdown-taxonomy

Weekly Downloads

0

Version

0.1.1

License

MIT

Unpacked Size

18.9 kB

Total Files

20

Last publish

Collaborators

  • jmatsushita