{"action":"created","issue":{"url":"https://api.github.com/repos/Robdel12/markdown-code-highlighting/issues/1","labels_url":"https://api.github.com/repos/Robdel12/markdown-code-highlighting/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/Robdel12/markdown-code-highlighting/issues/1/comments","events_url":"https://api.github.com/repos/Robdel12/markdown-code-highlighting/issues/1/events","html_url":"https://github.com/Robdel12/markdown-code-highlighting/pull/1","id":77343572,"number":1,"title":"added hihglight js class replacer","user":{"login":"validkeys","id":21793,"avatar_url":"https://avatars.githubusercontent.com/u/21793?v=3","gravatar_id":"","url":"https://api.github.com/users/validkeys","html_url":"https://github.com/validkeys","followers_url":"https://api.github.com/users/validkeys/followers","following_url":"https://api.github.com/users/validkeys/following{/other_user}","gists_url":"https://api.github.com/users/validkeys/gists{/gist_id}","starred_url":"https://api.github.com/users/validkeys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/validkeys/subscriptions","organizations_url":"https://api.github.com/users/validkeys/orgs","repos_url":"https://api.github.com/users/validkeys/repos","events_url":"https://api.github.com/users/validkeys/events{/privacy}","received_events_url":"https://api.github.com/users/validkeys/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-05-17T16:29:11Z","updated_at":"2015-05-17T17:42:41Z","closed_at":"2015-05-17T16:42:01Z","pull_request":{"url":"https://api.github.com/repos/Robdel12/markdown-code-highlighting/pulls/1","html_url":"https://github.com/Robdel12/markdown-code-highlighting/pull/1","diff_url":"https://github.com/Robdel12/markdown-code-highlighting/pull/1.diff","patch_url":"https://github.com/Robdel12/markdown-code-highlighting/pull/1.patch"},"body":"Currently the marked editor supplies the following classes on code elements:\r\n\r\n```html\r\n<code class=\"lang-javascript\"></code>\r\n```\r\n\r\nBut the HighlightJS lib requires the following additional classes to be added in order to fully implment the highlighting (unless I'm missing something).\r\n\r\n```html\r\n<code class=\"lang-javascript hljs javascript\"></code>\r\n```\r\n\r\nI added in a regex replacement to add the above classes. If I am missing something let me know, but this is working for me as expected."},"comment":{"url":"https://api.github.com/repos/Robdel12/markdown-code-highlighting/issues/comments/102826154","html_url":"https://github.com/Robdel12/markdown-code-highlighting/pull/1#issuecomment-102826154","issue_url":"https://api.github.com/repos/Robdel12/markdown-code-highlighting/issues/1","id":102826154,"user":{"login":"validkeys","id":21793,"avatar_url":"https://avatars.githubusercontent.com/u/21793?v=3","gravatar_id":"","url":"https://api.github.com/users/validkeys","html_url":"https://github.com/validkeys","followers_url":"https://api.github.com/users/validkeys/followers","following_url":"https://api.github.com/users/validkeys/following{/other_user}","gists_url":"https://api.github.com/users/validkeys/gists{/gist_id}","starred_url":"https://api.github.com/users/validkeys/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/validkeys/subscriptions","organizations_url":"https://api.github.com/users/validkeys/orgs","repos_url":"https://api.github.com/users/validkeys/repos","events_url":"https://api.github.com/users/validkeys/events{/privacy}","received_events_url":"https://api.github.com/users/validkeys/received_events","type":"User","site_admin":false},"created_at":"2015-05-17T17:42:40Z","updated_at":"2015-05-17T17:42:40Z","body":"sweet! Thanks Robert\n\nOn Sun, May 17, 2015 at 9:42 AM, Robert DeLuca <notifications@github.com>\nwrote:\n\n> Merged #1 <https://github.com/Robdel12/markdown-code-highlighting/pull/1>.\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/Robdel12/markdown-code-highlighting/pull/1#event-306823816>\n> .\n>\n"}}