parcel-plugin-catalog-markdown

Parcel plugin for loading markdown files as pages in Catalog

Usage no npm install needed!

<script type="module">
  import parcelPluginCatalogMarkdown from 'https://cdn.skypack.dev/parcel-plugin-catalog-markdown';
</script>

README

Parcel markdown plugin for Catalog

This is a parcel plugin for loading markdown files as pages in Catalog, automatically parsing all the different specimens into beautiful components. This plugin exists as a Webpack loader, so I decided to recreate it as a Parcel asset plugin, written in TypeScript.

Installation

Just install with yarn or npm, Parcel will automatically detect the plugin and use it.

yarn

yarn add parcel-plugin-catalog-markdown -D

npm

npm install parcel-plugin-catalog-markdown --save-dev

TODO

  • Add Rollup / microbundle for bundling the library

Changelog

1.1.0

  • Babel 7 added + .babelrc
  • TypeScript now transpiled with Babel 7 (via @babel/preset-typescript)
  • Parcel updated to support Babel 7
  • Prettier added + .prettierrc
  • Various NPM scripts for development (formatting, lint, typechecking, etc.)

1.0.4

Official release