RubyGems Navigation menu

html_toc 1.0.1

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:

440e55d0d49925780343c24d55c74f07968b3a0e64a5effd38ea5b25c04a8cb3

Total downloads 12,740

For this version 2,353

License:

MIT

Required Ruby Version: >= 0

Links: