Skip to content

Alexsilvacodes/metalsmith-kramdown

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

metalsmith-kramdown

A Metalsmith plugin to convert kramdown files.

Installation

$ npm install metalsmith-kramdown

CLI Usage

Install via npm and then add the metalsmith-kramdown key to your metalsmith.json plugins with any kramed options you want, like so:

{
  "plugins": {
    "metalsmith-kramdown": {
      "smartypants": true,
      "gfm": true,
      "tables": true
    }
  }
}

Javascript Usage

Pass options to the kramdown plugin and pass it to Metalsmith with the use method:

var kramdown = require('metalsmith-kramdown');

metalsmith.use(kramdown({
  smartypants: true,
  gfm: true,
  tables: true
}));

Credits

originated as fork of segmentio/metalsmith-markdown updated to support kramdown by dancork

License

MIT

About

A Metalsmith plugin to convert kramdown files.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%