Usage:
axp magic highlight
[options] file
Infoline:
Options:
| -h, --help | display this help message and exit |
| -o, --output FILE | write to FILE rather than stdout |
| -i, --internal | only use internal highlighting |
| -e, --enscript | only use enscript highlighting |
| -n, --none | just html-escape without highlighting |
Try to produce an html'd version of the file with syntax highlighting. The output html uses <span class="syntax_*"> </span> markup. To get colored pages, add css definition. See 'axp man Arch::FileHighlighter' for more information. The enscript utility is used if installed, otherwise the highlighting may be pretty poor. Multiple programming languages are supported, but not all.