Socket
Socket
Sign inDemoInstall

@alchemy-js/transmute-markdown

Package Overview
Dependencies
1
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @alchemy-js/transmute-markdown

Transmute markdown with Alchemy


Version published
Weekly downloads
3
Maintainers
1
Install size
84.7 kB
Created
Weekly downloads
 

Readme

Source

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

Keywords

FAQs

Last updated on 09 Aug 2019

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc