{"action":"created","issue":{"url":"https://api.github.com/repos/LouisBarranqueiro/hexo-theme-tranquilpeak/issues/50","labels_url":"https://api.github.com/repos/LouisBarranqueiro/hexo-theme-tranquilpeak/issues/50/labels{/name}","comments_url":"https://api.github.com/repos/LouisBarranqueiro/hexo-theme-tranquilpeak/issues/50/comments","events_url":"https://api.github.com/repos/LouisBarranqueiro/hexo-theme-tranquilpeak/issues/50/events","html_url":"https://github.com/LouisBarranqueiro/hexo-theme-tranquilpeak/issues/50","id":94505839,"number":50,"title":"YAML syntax highlighting?","user":{"login":"justincalleja","id":9398504,"avatar_url":"https://avatars.githubusercontent.com/u/9398504?v=3","gravatar_id":"","url":"https://api.github.com/users/justincalleja","html_url":"https://github.com/justincalleja","followers_url":"https://api.github.com/users/justincalleja/followers","following_url":"https://api.github.com/users/justincalleja/following{/other_user}","gists_url":"https://api.github.com/users/justincalleja/gists{/gist_id}","starred_url":"https://api.github.com/users/justincalleja/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/justincalleja/subscriptions","organizations_url":"https://api.github.com/users/justincalleja/orgs","repos_url":"https://api.github.com/users/justincalleja/repos","events_url":"https://api.github.com/users/justincalleja/events{/privacy}","received_events_url":"https://api.github.com/users/justincalleja/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/LouisBarranqueiro/hexo-theme-tranquilpeak/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":25,"created_at":"2015-07-11T20:36:05Z","updated_at":"2015-12-26T11:50:46Z","closed_at":null,"body":"Using either `yaml` or `yml` in the following:\r\n\r\n\r\n\\```yml\r\nroot:             public\r\ndest:             <%= site.root %>\r\nassets:           <%= site.dest %>/assets\r\n\r\ndata:             data/*.{json,yml}\r\n\r\ntemplates:        templates\r\nincludes:         <%= site.templates %>/includes/*.hbs\r\nlayouts:          <%= site.templates %>/layouts\r\nlayout:           default.hbs\r\n\r\nhelpers:          \r\n  \\- <%= site.templates %>/helpers/*.js\r\n\r\ndescription:      <%= pkg.description %>\r\n\\```\r\n\r\nGives this result:\r\n\r\n![yaml-snippet](https://cloud.githubusercontent.com/assets/9398504/8635255/f189ca4e-281b-11e5-8c99-1644b9ae0364.png)\r\n\r\nThere is only one line number and there is no syntax highlighting. I also tried with Hexo codeblock tag. Same result.\r\n\r\nIf am using \"json\" instead for now (which gives me line numbers, but still no highlighting).\r\n\r\nIs this something specific to Hexo? I read somewhere that Hexo uses highlight.js for syntax highlighting. But highlight.js supports yaml highlighting (as I've used it in the past).\r\n\r\nAny idea how I can fix this?\r\n\r\nCheers,\r\nJ"},"comment":{"url":"https://api.github.com/repos/LouisBarranqueiro/hexo-theme-tranquilpeak/issues/comments/167318292","html_url":"https://github.com/LouisBarranqueiro/hexo-theme-tranquilpeak/issues/50#issuecomment-167318292","issue_url":"https://api.github.com/repos/LouisBarranqueiro/hexo-theme-tranquilpeak/issues/50","id":167318292,"user":{"login":"LouisBarranqueiro","id":4705626,"avatar_url":"https://avatars.githubusercontent.com/u/4705626?v=3","gravatar_id":"","url":"https://api.github.com/users/LouisBarranqueiro","html_url":"https://github.com/LouisBarranqueiro","followers_url":"https://api.github.com/users/LouisBarranqueiro/followers","following_url":"https://api.github.com/users/LouisBarranqueiro/following{/other_user}","gists_url":"https://api.github.com/users/LouisBarranqueiro/gists{/gist_id}","starred_url":"https://api.github.com/users/LouisBarranqueiro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LouisBarranqueiro/subscriptions","organizations_url":"https://api.github.com/users/LouisBarranqueiro/orgs","repos_url":"https://api.github.com/users/LouisBarranqueiro/repos","events_url":"https://api.github.com/users/LouisBarranqueiro/events{/privacy}","received_events_url":"https://api.github.com/users/LouisBarranqueiro/received_events","type":"User","site_admin":false},"created_at":"2015-12-26T11:50:45Z","updated_at":"2015-12-26T11:50:45Z","body":"I got nothing because highlight doesn't recognize the yaml. Did you manage to have a codeblock with highlighted yaml? (I mean that variables, attributes, strings are wrapped in a span with the a css class)"}}