How To Install Hypertoc On Debian, Ubuntu, Kali, Fedora And Raspbian?

How To Install Hypertoc On Debian, Ubuntu, Kali, Fedora And Raspbian?

hypertoc

module that generates a Table of Contents for HTML documents

Maintainer: Debian Perl Group



Section: perl

Install hypertoc

  • Debian apt-get install libhtml-gentoc-perl Click to copy
  • Ubuntu apt-get install libhtml-gentoc-perl Click to copy
  • Kali Linux apt-get install libhtml-gentoc-perl Click to copy
  • Fedora dnf install perl-HTML-GenToc Click to copy
  • Raspbian apt-get install libhtml-gentoc-perl Click to copy

libhtml-gentoc-perl

module that generates a Table of Contents for HTML documents

HTML::GenToc generates anchors and a table of contents for HTML documents. Depending on the arguments, it will insert the information it generates, or output to a string, a separate file or STDOUT. While it defaults to taking H1 and H2 elements as the significant elements to put into the table of contents, any tag can be defined as a significant element. Also, it doesn't matter if the input HTML code is complete, pure HTML, one can input pseudo-html or page-fragments, which makes it suitable for using on templates and HTML meta-languages such as WML. Also included in the distrubution is hypertoc, a script which uses the module so that one can process files on the command-line in a user-friendly manner.

perl-HTML-GenToc

documents
To install the latest version of hypertoc in your favorite operating system just copy the hypertoc installation command from above and paste it into terminal. It will download and install the latest version of hypertoc 2026 package in your OS.