RubyGems Navigation menu

html_toc 1.0.0

Do a case-insensitive search on an HTML document for the token [[toc]]. If present, scan the document for header tags in a given range, verify that they have an id attribute and give them one if needed, then generate a group of links pointing to those headers with the header text used as the link text. This group of links then replaces the token.

Gemfile:
= Copy to clipboard Copied!

install:
=

Versions:

  1. 1.2.0 - December 28, 2014 (8 KB)
  2. 1.1.0 - December 13, 2014 (8 KB)
  3. 1.0.2 - December 10, 2014 (6 KB)
  4. 1.0.1 - December 10, 2014 (6 KB)
  5. 1.0.0 - December 10, 2014 (6 KB)

Owners:

Authors:

  • Gregory Gadow

SHA 256 checksum:

ff8625bf92f56c3ffcdccec1ceeb2a5164bef86ac97de180f46e9008470f048f

Total downloads 12,740

For this version 2,360

License:

MIT

Required Ruby Version: >= 0

Links: