DeeNewcum / dotfiles

my personal config files
12 stars 4 forks source link

<ansi2html.pl> add TOC ability #11

Closed DeeNewcum closed 12 years ago

DeeNewcum commented 12 years ago

Add the ability to insert section headings in situ. For example, while creating the original ANSI log, the user could run this:

echo ==== heading one ====

and that would result in <a name...><h3> being created at that position, and it would result in a Wikipedia-like TOC at the top of the final HTML version.

DeeNewcum commented 12 years ago

Also, perhaps this should be split off into a separate Git repo.

Also, it should probably be released to CPAN, because IMHO it's better than HTML::FromANSI.

DeeNewcum commented 12 years ago

fixed in c3269c7a9a6946156bd2abe91ee3fc5e93110231