Skip to content

pantojs/panto-transformer-markdown

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Markdown transformer for panto

Resources

License

Stars

Watchers

Forks

Packages

No packages published