/supplescroll

interactive documents in javascript

Primary LanguageCSS

SUPPLESCROLL

Supplescroll is a javascript plugin that converts a plain HTML document into an interactive document with:

  • auto-generated table of contents
  • independent figure list
  • handy URL hashes
  • back links to references
  • context-aware auto-scrolling
  • movable dividers
  • iOS-aware/responsive themes

Full docs http://boscoh.github.io/supplescroll

Quick Install

> npm install -g supplescroll

Quick Usage

If you have a markdown file:

> supplescroll article.md light

If you have a standard html file:

> supplescroll article.html light

Then open article.html in the browser.

Available themes: light, dark, yeolde, clown and sphinx.