{"action":"created","issue":{"url":"https://api.github.com/repos/hexojs/hexo/issues/1036","labels_url":"https://api.github.com/repos/hexojs/hexo/issues/1036/labels{/name}","comments_url":"https://api.github.com/repos/hexojs/hexo/issues/1036/comments","events_url":"https://api.github.com/repos/hexojs/hexo/issues/1036/events","html_url":"https://github.com/hexojs/hexo/issues/1036","id":56797938,"number":1036,"title":"Highlight.js is slow","user":{"login":"tommy351","id":411425,"avatar_url":"https://avatars.githubusercontent.com/u/411425?v=3","gravatar_id":"","url":"https://api.github.com/users/tommy351","html_url":"https://github.com/tommy351","followers_url":"https://api.github.com/users/tommy351/followers","following_url":"https://api.github.com/users/tommy351/following{/other_user}","gists_url":"https://api.github.com/users/tommy351/gists{/gist_id}","starred_url":"https://api.github.com/users/tommy351/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommy351/subscriptions","organizations_url":"https://api.github.com/users/tommy351/orgs","repos_url":"https://api.github.com/users/tommy351/repos","events_url":"https://api.github.com/users/tommy351/events{/privacy}","received_events_url":"https://api.github.com/users/tommy351/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hexojs/hexo/labels/discussion","name":"discussion","color":"5319e7"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/hexojs/hexo/milestones/15","labels_url":"https://api.github.com/repos/hexojs/hexo/milestones/15/labels","id":914501,"number":15,"title":"3.0","description":"","creator":{"login":"tommy351","id":411425,"avatar_url":"https://avatars.githubusercontent.com/u/411425?v=3","gravatar_id":"","url":"https://api.github.com/users/tommy351","html_url":"https://github.com/tommy351","followers_url":"https://api.github.com/users/tommy351/followers","following_url":"https://api.github.com/users/tommy351/following{/other_user}","gists_url":"https://api.github.com/users/tommy351/gists{/gist_id}","starred_url":"https://api.github.com/users/tommy351/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommy351/subscriptions","organizations_url":"https://api.github.com/users/tommy351/orgs","repos_url":"https://api.github.com/users/tommy351/repos","events_url":"https://api.github.com/users/tommy351/events{/privacy}","received_events_url":"https://api.github.com/users/tommy351/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":4,"state":"open","created_at":"2014-12-25T03:02:58Z","updated_at":"2015-02-08T09:07:56Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-02-06T10:55:15Z","updated_at":"2015-02-10T05:02:01Z","closed_at":null,"body":"[Highlight.js] is slow. After turning off the highlighting, the loading speed dropped from 46s to 16s. Maybe we should change another highlighting library or use [SyntaxHighlighter] or [Prism] to let browsers do this job.\r\n\r\n[Highlight.js]: https://highlightjs.org/\r\n[SyntaxHighlighter]: http://alexgorbatchev.com/SyntaxHighlighter/\r\n[Prism]: http://prismjs.com/"},"comment":{"url":"https://api.github.com/repos/hexojs/hexo/issues/comments/73644844","html_url":"https://github.com/hexojs/hexo/issues/1036#issuecomment-73644844","issue_url":"https://api.github.com/repos/hexojs/hexo/issues/1036","id":73644844,"user":{"login":"tommy351","id":411425,"avatar_url":"https://avatars.githubusercontent.com/u/411425?v=3","gravatar_id":"","url":"https://api.github.com/users/tommy351","html_url":"https://github.com/tommy351","followers_url":"https://api.github.com/users/tommy351/followers","following_url":"https://api.github.com/users/tommy351/following{/other_user}","gists_url":"https://api.github.com/users/tommy351/gists{/gist_id}","starred_url":"https://api.github.com/users/tommy351/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommy351/subscriptions","organizations_url":"https://api.github.com/users/tommy351/orgs","repos_url":"https://api.github.com/users/tommy351/repos","events_url":"https://api.github.com/users/tommy351/events{/privacy}","received_events_url":"https://api.github.com/users/tommy351/received_events","type":"User","site_admin":false},"created_at":"2015-02-10T05:02:01Z","updated_at":"2015-02-10T05:02:01Z","body":"`hexo-util` may run slow at the first time because it needs to load highlight.js. The speed may be faster after the first run.\r\n\r\nThe styles may need changes if we change the library."}}