1.0.0 • Published 6 years ago

metalsmith-pinboard v1.0.0

Weekly downloads
5
License
ISC
Repository
github
Last release
6 years ago

metalsmith-pinboard

A Metalsmith plugin for retriving and displaying Pinboard bookmarks.

Installation

$ npm install metalsmith-pinboard

Usage

Add metalsmith-pinboard to your Metalsmith project.

let metalsmithPinboard = require('metalsmith-pinboard')

metalsmith.use(metalsmithPinboard());

If no options are specified the plugin will pull the contents from the Pinboard Popular feed.

Options

The following options are accepted:

metalsmith.use(metalsmithPinboard(
    username: 'xyz', // a pinboard username
    tags: ['tag1', 'tag2', 'tag3'], // upto 3 pinboard tags (optional)
    count: 20 // the number of records to retrieve. Pinboard limits this request to 400. (optional)
));

License

MIT