{"action":"created","issue":{"url":"https://api.github.com/repos/discourse/discourse/issues/4065","repository_url":"https://api.github.com/repos/discourse/discourse","labels_url":"https://api.github.com/repos/discourse/discourse/issues/4065/labels{/name}","comments_url":"https://api.github.com/repos/discourse/discourse/issues/4065/comments","events_url":"https://api.github.com/repos/discourse/discourse/issues/4065/events","html_url":"https://github.com/discourse/discourse/pull/4065","id":139126626,"number":4065,"title":"Updated highlight.js","user":{"login":"phw","id":29852,"avatar_url":"https://avatars.githubusercontent.com/u/29852?v=3","gravatar_id":"","url":"https://api.github.com/users/phw","html_url":"https://github.com/phw","followers_url":"https://api.github.com/users/phw/followers","following_url":"https://api.github.com/users/phw/following{/other_user}","gists_url":"https://api.github.com/users/phw/gists{/gist_id}","starred_url":"https://api.github.com/users/phw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phw/subscriptions","organizations_url":"https://api.github.com/users/phw/orgs","repos_url":"https://api.github.com/users/phw/repos","events_url":"https://api.github.com/users/phw/events{/privacy}","received_events_url":"https://api.github.com/users/phw/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2016-03-07T23:31:22Z","updated_at":"2016-03-10T06:03:02Z","closed_at":"2016-03-10T05:21:17Z","pull_request":{"url":"https://api.github.com/repos/discourse/discourse/pulls/4065","html_url":"https://github.com/discourse/discourse/pull/4065","diff_url":"https://github.com/discourse/discourse/pull/4065.diff","patch_url":"https://github.com/discourse/discourse/pull/4065.patch"},"body":"This updates highlightjs to the latest version, which provides additional syntax definitions and fixes to existing ones.\r\n\r\nPlease note that there was a cleanup of the highlight.js CSS, see https://github.com/isagalaev/highlight.js/blob/master/CHANGES.md and the new class reference at http://highlightjs.readthedocs.org/en/latest/css-classes-reference.html. I have tried to adapt the existing stylesheets to the new rules and tried to evaluate the affected languages. Given the amount of languages slight differences in highlighting are a possibility and in some cases unavoidable (e.g. for diff there was previously a distinction between \"addition\" and \"change\", now there is only the \"addition\" class for both cases)."},"comment":{"url":"https://api.github.com/repos/discourse/discourse/issues/comments/194686775","html_url":"https://github.com/discourse/discourse/pull/4065#issuecomment-194686775","issue_url":"https://api.github.com/repos/discourse/discourse/issues/4065","id":194686775,"user":{"login":"phw","id":29852,"avatar_url":"https://avatars.githubusercontent.com/u/29852?v=3","gravatar_id":"","url":"https://api.github.com/users/phw","html_url":"https://github.com/phw","followers_url":"https://api.github.com/users/phw/followers","following_url":"https://api.github.com/users/phw/following{/other_user}","gists_url":"https://api.github.com/users/phw/gists{/gist_id}","starred_url":"https://api.github.com/users/phw/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phw/subscriptions","organizations_url":"https://api.github.com/users/phw/orgs","repos_url":"https://api.github.com/users/phw/repos","events_url":"https://api.github.com/users/phw/events{/privacy}","received_events_url":"https://api.github.com/users/phw/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T06:03:02Z","updated_at":"2016-03-10T06:03:02Z","body":"Interesting. I only tested with explicit languages to see the highlighting, sorry for that"}}