Skip to content

Latest commit

 

History

History
39 lines (34 loc) · 1.86 KB

README.md

File metadata and controls

39 lines (34 loc) · 1.86 KB

panto-transformer-markdown

NPM version Downloads Build Status Dependency status Dev Dependency status Coverage Status

Markdown transformer for panto based on markdown-it.

panto.loadTransformer('markdown');

panto.$('**/*.md').read().markdown({
    markdownOptions: {
        html: true
    },
    markdownPlugins: [
        [
            require('markdown-it-sanitizer'), {
                        imageClass: 'my-img',
                        removeUnbalanced: false,
                        removeUnknown: false
            }
        ]
    ]
});

options