freebsd-ports/textproc/htmlize.el/pkg-descr
Pav Lucistnik eaf81e584f This port allows to create nice syntax coloured listings for display on web
sites

PR:		ports/61384
Submitted by:	Marc van Woerkom <marc.vanwoerkom@fernuni-hagen.de>
2005-02-18 10:29:30 +00:00

22 lines
765 B
Text

Emacs major mode to create HTML files from Emacs buffers (in colour!)
This major mode will output the contents of an Emacs buffer as a
HTML file, preserving the colour attributes of that buffer.
This is a pretty elegant solution to produce nice listings of your
code in Erlang, C++, SML, Ruby (or whatever esoteric language you can
dig out a major mode for) to display on web sites.
As an example watch the ELISP code of this major mode
http://fly.srk.fer.hr/~hniksic/emacs/htmlize.el.html
Because the colouring depends only on your major mode and perhaps
some individual settings (e.g. I prefer a dark background) you can
turn any Emacs buffer into HTML.
WWW: http://fly.srk.fer.hr/~hniksic/emacs/
- Marc van Woerkom
marc.vanwoerkom@fernuni-hagen.de