1.0.2 • Published 4 years ago

@crgeary/carbon-transformer-markdown v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

Carbon Transformer Markdown

Transforms markdown to html for Carbon

Install

npm i @crgeary/carbon-transformer-markdown --save

Usage

Add the following configuration to carbon.config.js ...

const path = require('path');

module.exports = {
    plugins: [
        {
            resolve: `@crgeary/carbon-transformer-markdown`,
            options: {
                markedOptions: {},
            },
        },
    ],
};

Options

The plugin supports the following configuration options:

KeyTypeDefaultDescription
markedOptionsobjectSee DefaultsOptions passed to marked()

License

MIT