metalsmith-hbt-md

1.0.1 • Public • Published

metalsmith-hbt-md

Process Handlebars in Markdown files.

Installation

npm install metalsmith-hbt-md

Usage

You should pass the Handlebars instance you are working with to this plugin. Additionally you can also pass a pattern to filter the files to process:

var handlebars = require('handlebars');
var hbtmd = require('metalsmith-hbt-md');
 
new Metalsmith(__dirname)
    .use(hbtmd(handlebars, {
        pattern: '**/*.md'
    }))
    .build();

handlebars Object

A Handlebars instance.

options Object

  • pattern String

    A pattern to filter the files to process

License

MIT License, see LICENSE for details.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.1
    15
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.1
    15
  • 1.0.0
    1

Package Sidebar

Install

npm i metalsmith-hbt-md

Weekly Downloads

16

Version

1.0.1

License

MIT

Last publish

Collaborators

  • ahdiaz