Closed Gama11 closed 6 years ago
The json case is funny because json is valid haxe syntax.
Wouldn't the url example also happen on haxe code? If that's the code from haxe.org there's only haxe, and a basic highlight for it.
Can't we just use https://highlightjs.org/ like every other kid?
I can't find haxe support in it, having better (any) support for other languages sure, but it'd be sad if we didn't have haxe :)
It has haxe support. I use it in my blog: http://nadako.github.io/rants/posts/2016-03-05_haxe-import-hx.html
The highlighting is nicer since new layout update (probably not gama11-compliantâ„¢). jsons dont get highlighted anymore.
It uses https://lib.haxe.org/p/html-haxe-code-highlighter/ atm.
It seems like every page on
/files
uses haxe highlighting:While this is only slightly noticable for
.json
because urls are rendered as comments...:http://lib.haxe.org/p/flixel/4.0.1/files/haxelib.json
...xml files are hardly recognizable as such anymore:
http://lib.haxe.org/p/flixel/4.0.1/files/include.xml