outline2html.pl - 轉換大綱文字成網頁格式

作者:   發佈於: ,更新於:  

outline2html.pl is a script that convert Emacs outline-mode text into html pages. You may download it from here: https://github.com/gugod/outline2html


outline2html.pl - Convert Emacs outline-mode text into html pages.


outline2html.pl [ -l [level] ] foo.txt > foo.html
outline2html.pl [-p] [-l [level] ] foo.txt


-p Multi-page mode.
-l Levels to expand in Table of content. Default to 2


This script is quite convienent for a Emacs outline-mode user who wants to make html pages quickly. It generates html pages in two styles: all nodes in a single page or a page for each root nodes.

HTML pages are generate in a structured fashion with default CSS stylesheet named style.css. It is also possible to embed links and images , using the following format in your outline-mode text file:

[image: picure.jpg]
[link: link_title , path/to/some/where/]
... link_title (http://url.of.some/where/) ...

So far the generated html are not validated under any DTD but it's tended to be so.

Copyright Copyright 2003 by Kang-min Liu .

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself: https://dev.perl.org/licenses/artistic.html