Open ngtrian opened 6 years ago
What's your code that is not working?
This is my code
{
"short_name": "Maps",
"name": "Google Maps",
"icons": [
{
"src": "/images/icons-192.png",
"type": "image/png",
"sizes": "192x192"
},
{
"src": "/images/icons-512.png",
"type": "image/png",
"sizes": "512x512"
}
],
"start_url": "/maps/?source=pwa",
"background_color": "#3367D6",
"display": "standalone",
"scope": "/maps/",
"theme_color": "#3367D6"
}
I mean your PHP code.
Json also not list support on homepage GeSHi
JSON is a subset of javascript, so JSON is supported. Either show the actual PHP code instructing geshi to render JSON that does not work, or stop.
No, if set syntax javascript for json, result in same color. I'm trying in http://qbnz.com.
Why quickly closed this issue? Instead of discussing further!
It should highlight as:
So your problem is that keys and values in a JSON document are highlighted with the same color?
So your problem is that keys and values in a JSON document are highlighted with the same color?
yes
With enough hackery using COMMENT_REGEXP you could match the string preceeding the colon and matching the string except for the colon (which should be covered by a lookahead only, not as the actual match).
working with xml, yaml, please add json support