Skip to content

cbrst/metalsmith-org

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
lib
 
 
 
 
 
 
 
 
 
 

metalsmith-org

A Metalsmith plugin to convert org-mode files.

Installation

npm install metalsmith-org

CLI Usage

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

{
  "plugins": {
    "metalsmith-org": {
      "headerOffset": 1
    }
  }
}

Javascript Usage

Pass options to the org plugin and pass it to Metalsmith with the use method. metalsmith-org does not have any options of its own, everything here will be passed on to org-js:

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

metalsmith.use(org({
    headerOffset: 1
}));

License

MIT

About

org-mode parser for Metalsmith

Resources

Stars

Watchers

Forks

Packages

No packages published