{"action":"created","comment":{"url":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/comments/26210258","id":26210258,"diff_hunk":"@@ -181,18 +171,12 @@ <h2 id=\"code\">Source code and syntax</h2>\n \n <h3>Syntax highlighting</h3>\n \n-<p>To trigger syntax highlighting using <a href=\"https://code.google.com/p/google-code-prettify/\">prettify</a>, prefix the <code>&lt;pre&gt;</code> with a prettify inline hint such as <code>&lt;?prettify linenums=1?&gt;</code>, or add the <code>prettify</code> class, as documented in the <a href=\"https://code.google.com/p/google-code-prettify/wiki/GettingStarted\">prettify wifi</a>.  Since prettify auto-loads all its lang files, we use it from the Cloudflare CDN.  Put this in your page to enable support:</p>\n-\n-<?prettify linenums=1?>\n-<pre><code>&lt;script src=\"//cdnjs.cloudflare.com/ajax/libs/prettify/r298/prettify.js\">&lt;/script>\n-&lt;script&gt;addEventListener('load', function(event) { prettyPrint(); }, false);&lt;/script&gt;</code></pre>\n-\n+<p>o-techdocs brings syntax highlighting out of the box using <a href=\"https://highlightjs.org\">Highlight.js</a>.</p>","path":"demos/demo.html","position":51,"original_position":51,"commit_id":"60eef5aa16436e6e46238904c592ed61c76f8222","original_commit_id":"60eef5aa16436e6e46238904c592ed61c76f8222","user":{"login":"triblondon","id":1735391,"avatar_url":"https://avatars.githubusercontent.com/u/1735391?v=3","gravatar_id":"","url":"https://api.github.com/users/triblondon","html_url":"https://github.com/triblondon","followers_url":"https://api.github.com/users/triblondon/followers","following_url":"https://api.github.com/users/triblondon/following{/other_user}","gists_url":"https://api.github.com/users/triblondon/gists{/gist_id}","starred_url":"https://api.github.com/users/triblondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triblondon/subscriptions","organizations_url":"https://api.github.com/users/triblondon/orgs","repos_url":"https://api.github.com/users/triblondon/repos","events_url":"https://api.github.com/users/triblondon/events{/privacy}","received_events_url":"https://api.github.com/users/triblondon/received_events","type":"User","site_admin":false},"body":"Need to document how to opt-out, and how to specify language.","created_at":"2015-03-11T13:15:29Z","updated_at":"2015-03-11T13:15:29Z","html_url":"https://github.com/Financial-Times/o-techdocs/pull/31#discussion_r26210258","pull_request_url":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/31","_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/comments/26210258"},"html":{"href":"https://github.com/Financial-Times/o-techdocs/pull/31#discussion_r26210258"},"pull_request":{"href":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/31"}}},"pull_request":{"url":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/31","id":30290569,"html_url":"https://github.com/Financial-Times/o-techdocs/pull/31","diff_url":"https://github.com/Financial-Times/o-techdocs/pull/31.diff","patch_url":"https://github.com/Financial-Times/o-techdocs/pull/31.patch","issue_url":"https://api.github.com/repos/Financial-Times/o-techdocs/issues/31","number":31,"state":"open","locked":false,"title":"Highlightjs - closes #29","user":{"login":"kaelig","id":85783,"avatar_url":"https://avatars.githubusercontent.com/u/85783?v=3","gravatar_id":"","url":"https://api.github.com/users/kaelig","html_url":"https://github.com/kaelig","followers_url":"https://api.github.com/users/kaelig/followers","following_url":"https://api.github.com/users/kaelig/following{/other_user}","gists_url":"https://api.github.com/users/kaelig/gists{/gist_id}","starred_url":"https://api.github.com/users/kaelig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaelig/subscriptions","organizations_url":"https://api.github.com/users/kaelig/orgs","repos_url":"https://api.github.com/users/kaelig/repos","events_url":"https://api.github.com/users/kaelig/events{/privacy}","received_events_url":"https://api.github.com/users/kaelig/received_events","type":"User","site_admin":false},"body":"- Replaced Prettify with [Highlight.js](https://highlightjs.org/)\r\n- Removes the need for an external script to highlight code","created_at":"2015-03-02T15:12:43Z","updated_at":"2015-03-11T13:15:29Z","closed_at":null,"merged_at":null,"merge_commit_sha":"e02c80ba4efbc8e970863ffed5e92931ff52d773","assignee":{"login":"triblondon","id":1735391,"avatar_url":"https://avatars.githubusercontent.com/u/1735391?v=3","gravatar_id":"","url":"https://api.github.com/users/triblondon","html_url":"https://github.com/triblondon","followers_url":"https://api.github.com/users/triblondon/followers","following_url":"https://api.github.com/users/triblondon/following{/other_user}","gists_url":"https://api.github.com/users/triblondon/gists{/gist_id}","starred_url":"https://api.github.com/users/triblondon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/triblondon/subscriptions","organizations_url":"https://api.github.com/users/triblondon/orgs","repos_url":"https://api.github.com/users/triblondon/repos","events_url":"https://api.github.com/users/triblondon/events{/privacy}","received_events_url":"https://api.github.com/users/triblondon/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/31/commits","review_comments_url":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/31/comments","review_comment_url":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Financial-Times/o-techdocs/issues/31/comments","statuses_url":"https://api.github.com/repos/Financial-Times/o-techdocs/statuses/60eef5aa16436e6e46238904c592ed61c76f8222","head":{"label":"Financial-Times:highlightjs","ref":"highlightjs","sha":"60eef5aa16436e6e46238904c592ed61c76f8222","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":15563429,"name":"o-techdocs","full_name":"Financial-Times/o-techdocs","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/o-techdocs","description":"Style framework for technical documentation and tools","fork":false,"url":"https://api.github.com/repos/Financial-Times/o-techdocs","forks_url":"https://api.github.com/repos/Financial-Times/o-techdocs/forks","keys_url":"https://api.github.com/repos/Financial-Times/o-techdocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/o-techdocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/o-techdocs/teams","hooks_url":"https://api.github.com/repos/Financial-Times/o-techdocs/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/o-techdocs/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/o-techdocs/events","assignees_url":"https://api.github.com/repos/Financial-Times/o-techdocs/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/o-techdocs/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/o-techdocs/tags","blobs_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/o-techdocs/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/o-techdocs/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/o-techdocs/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/o-techdocs/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/o-techdocs/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/o-techdocs/subscription","commits_url":"https://api.github.com/repos/Financial-Times/o-techdocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/o-techdocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/o-techdocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/o-techdocs/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/o-techdocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/o-techdocs/merges","archive_url":"https://api.github.com/repos/Financial-Times/o-techdocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/o-techdocs/downloads","issues_url":"https://api.github.com/repos/Financial-Times/o-techdocs/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/o-techdocs/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/o-techdocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/o-techdocs/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/o-techdocs/releases{/id}","created_at":"2014-01-01T11:33:12Z","updated_at":"2015-03-06T19:58:23Z","pushed_at":"2015-03-06T19:58:22Z","git_url":"git://github.com/Financial-Times/o-techdocs.git","ssh_url":"git@github.com:Financial-Times/o-techdocs.git","clone_url":"https://github.com/Financial-Times/o-techdocs.git","svn_url":"https://github.com/Financial-Times/o-techdocs","homepage":"http://registry.origami.ft.com/components/o-techdocs","size":1315,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"base":{"label":"Financial-Times:master","ref":"master","sha":"90ed717a0c7e6d7cce50541d69a29fc7bf7c5068","user":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"repo":{"id":15563429,"name":"o-techdocs","full_name":"Financial-Times/o-techdocs","owner":{"login":"Financial-Times","id":3502508,"avatar_url":"https://avatars.githubusercontent.com/u/3502508?v=3","gravatar_id":"","url":"https://api.github.com/users/Financial-Times","html_url":"https://github.com/Financial-Times","followers_url":"https://api.github.com/users/Financial-Times/followers","following_url":"https://api.github.com/users/Financial-Times/following{/other_user}","gists_url":"https://api.github.com/users/Financial-Times/gists{/gist_id}","starred_url":"https://api.github.com/users/Financial-Times/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Financial-Times/subscriptions","organizations_url":"https://api.github.com/users/Financial-Times/orgs","repos_url":"https://api.github.com/users/Financial-Times/repos","events_url":"https://api.github.com/users/Financial-Times/events{/privacy}","received_events_url":"https://api.github.com/users/Financial-Times/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Financial-Times/o-techdocs","description":"Style framework for technical documentation and tools","fork":false,"url":"https://api.github.com/repos/Financial-Times/o-techdocs","forks_url":"https://api.github.com/repos/Financial-Times/o-techdocs/forks","keys_url":"https://api.github.com/repos/Financial-Times/o-techdocs/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Financial-Times/o-techdocs/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Financial-Times/o-techdocs/teams","hooks_url":"https://api.github.com/repos/Financial-Times/o-techdocs/hooks","issue_events_url":"https://api.github.com/repos/Financial-Times/o-techdocs/issues/events{/number}","events_url":"https://api.github.com/repos/Financial-Times/o-techdocs/events","assignees_url":"https://api.github.com/repos/Financial-Times/o-techdocs/assignees{/user}","branches_url":"https://api.github.com/repos/Financial-Times/o-techdocs/branches{/branch}","tags_url":"https://api.github.com/repos/Financial-Times/o-techdocs/tags","blobs_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/refs{/sha}","trees_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Financial-Times/o-techdocs/statuses/{sha}","languages_url":"https://api.github.com/repos/Financial-Times/o-techdocs/languages","stargazers_url":"https://api.github.com/repos/Financial-Times/o-techdocs/stargazers","contributors_url":"https://api.github.com/repos/Financial-Times/o-techdocs/contributors","subscribers_url":"https://api.github.com/repos/Financial-Times/o-techdocs/subscribers","subscription_url":"https://api.github.com/repos/Financial-Times/o-techdocs/subscription","commits_url":"https://api.github.com/repos/Financial-Times/o-techdocs/commits{/sha}","git_commits_url":"https://api.github.com/repos/Financial-Times/o-techdocs/git/commits{/sha}","comments_url":"https://api.github.com/repos/Financial-Times/o-techdocs/comments{/number}","issue_comment_url":"https://api.github.com/repos/Financial-Times/o-techdocs/issues/comments{/number}","contents_url":"https://api.github.com/repos/Financial-Times/o-techdocs/contents/{+path}","compare_url":"https://api.github.com/repos/Financial-Times/o-techdocs/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Financial-Times/o-techdocs/merges","archive_url":"https://api.github.com/repos/Financial-Times/o-techdocs/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Financial-Times/o-techdocs/downloads","issues_url":"https://api.github.com/repos/Financial-Times/o-techdocs/issues{/number}","pulls_url":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls{/number}","milestones_url":"https://api.github.com/repos/Financial-Times/o-techdocs/milestones{/number}","notifications_url":"https://api.github.com/repos/Financial-Times/o-techdocs/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Financial-Times/o-techdocs/labels{/name}","releases_url":"https://api.github.com/repos/Financial-Times/o-techdocs/releases{/id}","created_at":"2014-01-01T11:33:12Z","updated_at":"2015-03-06T19:58:23Z","pushed_at":"2015-03-06T19:58:22Z","git_url":"git://github.com/Financial-Times/o-techdocs.git","ssh_url":"git@github.com:Financial-Times/o-techdocs.git","clone_url":"https://github.com/Financial-Times/o-techdocs.git","svn_url":"https://github.com/Financial-Times/o-techdocs","homepage":"http://registry.origami.ft.com/components/o-techdocs","size":1315,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":1,"mirror_url":null,"open_issues_count":6,"forks":1,"open_issues":6,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/31"},"html":{"href":"https://github.com/Financial-Times/o-techdocs/pull/31"},"issue":{"href":"https://api.github.com/repos/Financial-Times/o-techdocs/issues/31"},"comments":{"href":"https://api.github.com/repos/Financial-Times/o-techdocs/issues/31/comments"},"review_comments":{"href":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/31/comments"},"review_comment":{"href":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Financial-Times/o-techdocs/pulls/31/commits"},"statuses":{"href":"https://api.github.com/repos/Financial-Times/o-techdocs/statuses/60eef5aa16436e6e46238904c592ed61c76f8222"}}}}