-
Notifications
You must be signed in to change notification settings - Fork 101
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support Json format #110
Comments
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! |
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
The text was updated successfully, but these errors were encountered: