No, I think it's really not in the highlight.js that's inside
Marked. Looking in highlight.js in Content/Resources in the app
hljs.LANGUAGES.xxx but no hljs.LANGUAGES.json.
Looking here : http://yandex.st/highlightjs/7.0/highlight.min.js,
there's a hljs.LANGUAGES.json.
One thing that's strange is that I tested replacing the
highlight.js and the syntax/xxx.css files in the app bundle with
the one downloaded from http://softwaremaniacs.org/soft/highlight/en/download/,
and the result is not as expected. Inside Marked, the code is still
not highlighted, but when I do a "save to html", with template
included, then the html IS highlighted.
Brett on 20 Jun, 2012 01:26 AM
Hey, I just ran it with the upgraded (7.0) version of highlight and it worked *wonders*. If you'd like a look at the beta version with vastly improved fenced code handling and the updated highlight.js, shoot me an email here: http://brettterpstra.com/contact/
I have resolved problem with changing content of the
marked.min.js. marked.min.js file consists of jquery.js,
highlight.js and other script. If you replace old highlight.js
content(as text) with new one, you can highlight json.