@alchemy-js/transmute-markdown

1.0.0 • Public • Published

Transmute Markdown

Transmutes markdown for the Alchemy static site generator.

  • Transmutes file content from markdown to HTML
  • Transmutes file extension from .md to .html
  • Options object accepts all valid marked options

Installation

npm i @alchemy/transmute-markdown

API

This is a wrapper around the marked package, accepting all valid options as an object.

const Alchemy = require('@alchemy-js/alchemy');
const markdown = require('@alchemy-js/transmute-markdown');

Alchemy({
  /* file paths */
}).clean()
  .transmute(markdown({
    /* accepts valid marked options as an object */
  })
  .build()

License

MIT

/@alchemy-js/transmute-markdown/

    Package Sidebar

    Install

    npm i @alchemy-js/transmute-markdown

    Weekly Downloads

    0

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    2.79 kB

    Total Files

    5

    Last publish

    Collaborators

    • johnfoderaro