@xiphiaz/metalsmith-headings

0.1.1 • Public • Published

metalsmith-headings

A Metalsmith plugin that extracts headings from HTML files and attaches them to the file's metadata.

Installation

$ npm install metalsmith-headings

Example

var Metalsmith = require('metalsmith');
var headings = require('metalsmith-headings');

Metalsmith(__dirname)
  .use(headings('h2'))
  .build();

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i @xiphiaz/metalsmith-headings

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • xiphiaz