jeromegn/DocumentUp — pull request #28 by lennart (2012-02-16 11:31:19+00:00)
Title: [add] explicit syntax highlighting language override

Hi Jerome,

I just experienced some issues with `highlight.js`' language auto-detection and decided to use `marked`'s ability to parse

```any-given-language # => is parsed as 'any-given-language' in token.lang
random:= code;
```

for explicitly highlighting a certain programming language.

This pull request includes a simple guard to only use this feature if `any-given-language` is containd in `highlight.js`' loaded syntaxes (`hljs.LANGUAGES`)