{"action":"opened","issue":{"url":"https://api.github.com/repos/isagalaev/highlight.js/issues/1074","repository_url":"https://api.github.com/repos/isagalaev/highlight.js","labels_url":"https://api.github.com/repos/isagalaev/highlight.js/issues/1074/labels{/name}","comments_url":"https://api.github.com/repos/isagalaev/highlight.js/issues/1074/comments","events_url":"https://api.github.com/repos/isagalaev/highlight.js/issues/1074/events","html_url":"https://github.com/isagalaev/highlight.js/issues/1074","id":131097479,"number":1074,"title":"Highlight tag names in JSON with separate class","user":{"login":"willium","id":356976,"avatar_url":"https://avatars.githubusercontent.com/u/356976?v=3","gravatar_id":"","url":"https://api.github.com/users/willium","html_url":"https://github.com/willium","followers_url":"https://api.github.com/users/willium/followers","following_url":"https://api.github.com/users/willium/following{/other_user}","gists_url":"https://api.github.com/users/willium/gists{/gist_id}","starred_url":"https://api.github.com/users/willium/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/willium/subscriptions","organizations_url":"https://api.github.com/users/willium/orgs","repos_url":"https://api.github.com/users/willium/repos","events_url":"https://api.github.com/users/willium/events{/privacy}","received_events_url":"https://api.github.com/users/willium/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2016-02-03T17:34:19Z","updated_at":"2016-02-03T17:34:19Z","closed_at":null,"body":"The pygments syntax highlighter gives a class to tag names so that different styling can be given to them. This can be seen with github itself. We're using highlight.js in tandem with pygments and would like to match the styles (only with JSON in our case). Therefore, getting a different class for the keys than the values in JSON with strings specifically.\r\n\r\nHere's what it looks like in pygments\r\n![image](https://cloud.githubusercontent.com/assets/356976/12790864/390789a8-ca59-11e5-90ea-2da82b9b682f.png)\r\n\r\nAnd here's highlight.js\r\n![image](https://cloud.githubusercontent.com/assets/356976/12790874/44326d34-ca59-11e5-9367-11884bbe5b5c.png)\r\n\r\n"}}