-module(hello). -export([start/0]). start() -> io:fwrite("Hello, world!").
This can then be converted for use with SHJS, which is the library I'm using to highlight the source code above. The .lang file should also work with GNU Source-highlight and any other software using the same format, but I've not tested it.
I've included the converted sh_erlang.js file for use with SHJS, as well as the original erlang.lang file (which depends on number.lang).
This is now used on erldocs.com, which is a cool, easy to search version of the erlang.org docs, nice one @daleharvey :)