/footnotes

Footnote component

Primary LanguageJavaScript

wrkrm-footnotes

Displays footnotes in a layer sticked to the footer of a page.

Install

$ npm install werkraum-media/footnotes --save
  "dependencies": {
    "footnotes": "github:werkraum-media/footnotes"
  }

Usage

// foo.js
const footnotes = require('wrkrm-footnotes');

footnotes need to be referenced by an href anchor / id
footnotes are identified by data attribute: data-toggle="tooltip"

sample:

<a href="#tooltip2" data-toggle="tooltip">[2]</a>