Hey Fabiano,
Let me try to clear this all up.
You're using a third-party fork of highlight.js the point of which seems
to be the node.js integration. I doubt anyone here will be able to help
you with Andris' fork but the good news is that the main highlight.js is
now able to work node.js too. And I'd recommend you to switch to the
main project anyway since Andris' for uses the version of highlight.js
which is more than a year old. And *a lot* things happened during this
time :-).
On to your questions.
You can now install highlight.js using `npm install highlight.js` which
will install the library and all the languages it currently knows.
However if you plan to add your own languages you can get the source,
add your language files and then build it for the node.js yourself:
python tools/build.py -t node language1 language2 ...
The building docs are here:
http://softwaremaniacs.org/wiki/doku.php/highlight.js:building_testing
Also you might consider submitting your language definition to the main
project if you don't mind maintaining it occasionally :-).
The library API is described here:
http://softwaremaniacs.org/wiki/doku.php/highlight.js:api
To highlight code with a specific language you want the first function —
`highlight(language_name, value)`