[new:AlexSchroeder:2013-04-30 09:34 UTC]
Any _new_ elisp files pasted on to the wiki---ie. any page that starts with ";;;"---will now get a different Emacs Lisp highlighting that is supposed to match the default colors used by Emacs. If you want to look at the source code, search for "elisp_formatting" in the [http://www.emacswiki.org/emacs/config config file]. It's supposed to match `lisp-font-lock-keywords-1' and `lisp-font-lock-keywords-2' in ##font-lock.el##.

Here's an example: AlexSchroederConfigPyrobombus.

I'm using the same code to highlight all pre-formatted code blocks.

Using the ##<pre>## tag:

{{{
<pre>
(lambda (n) (1+ n))
</pre>
}}}

Indenting using whitespace:

    (lambda (n) (1+ n))

Using triple braces:

<pre>
{{{
(lambda (n) (1+ n))
}}}
</pre>

This may result in mis-formatted code fragments that contain something other than Emacs Lisp. Let me know if you find any egregious problems.

Old files are unaffected -- their HTML code remains cached.
