rstacruz/flatdoc — pull request #37 by malthe (2014-06-23 14:06:31+00:00)
Title: Add support for external highlighter

An example is included in the code comments for integration with
'highlight.js' (an excellent highlighter):
```js
Flatdoc.run({
highlight: function (code, value) {
return hljs.highlight(lang, code).value;
},
...
});
```
Note that in addition to this, only the 'generic' highlighter has
been preserved.

The idea being that most people will want to link in 'highlight.js'
because it supports so many more languages.