mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
1f8b48b772
Approved by: portmgr blanket
19 lines
707 B
Plaintext
19 lines
707 B
Plaintext
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/
|