www/p5-HTML-GenToc 3.20_2 DragonFly
Generate a Table of Contents for HTML documents
- System
- DragonFly
- Repository
- DPorts
- Maintainer
- [email protected] (as in FreeBSD)
- Categories
- perl5, www
- Package size
- 37.8 KiB, 90.9 KiB installed
Description
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.
In the other systems
| System | Port | Version |
|---|---|---|
| DragonFly | www/p5-HTML-GenToc | 3.20_2 |
| FreeBSD | www/p5-HTML-GenToc | 3.20_2 |
| HardenedBSD | www/p5-HTML-GenToc | 3.20_2 |
| GhostBSD | www/p5-HTML-GenToc | 3.20_2 |
Install
Binary package:
pkg install p5-HTML-GenToc
From DPorts:
cd /usr/dports/www/p5-HTML-GenToc && make install clean
Dependencies
Run dependencies 5
No port depends on this one.