1.0.2 • Published 4 years ago
@crgeary/carbon-transformer-markdown v1.0.2
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:
Key | Type | Default | Description |
---|---|---|---|
markedOptions | object | See Defaults | Options passed to marked() |
License
MIT