Skip to content

metalsmith/headings

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •