mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
2b1dacc826
- Name em@i.l or variations thereof. While I'm here also fix some whitespace and other formatting errors, including moving WWW: to the last line in the file.
19 lines
711 B
Plaintext
19 lines
711 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/
|