> All I know about adding code to WP posts is this: > http://codex.wordpress.org/Writing_Code_in_Your_Posts > L.
TL;DR write the post in “text” mode using markdown style formatting:
``` erlang
fun() -> ok.
```
or:
[code language="javascript"]
http.createServer(function (req, resp) {});
[/code]
More info:
https://gist.github.com/dch/6e2214526371827aaf24 or
http://en.support.wordpress.com/code/posting-source-code/
—
Dave Cottlehuber
Sent from my Couch
