@alchemy-js/transmute-markdown
v1.0.0
Published
Transmute markdown with Alchemy
Downloads
3
Maintainers
Readme
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