{"action":"opened","number":773,"pull_request":{"url":"https://api.github.com/repos/rstudio/rmarkdown/pulls/773","id":81042187,"html_url":"https://github.com/rstudio/rmarkdown/pull/773","diff_url":"https://github.com/rstudio/rmarkdown/pull/773.diff","patch_url":"https://github.com/rstudio/rmarkdown/pull/773.patch","issue_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/773","number":773,"state":"open","locked":false,"title":"render code as markdown rather than HTML","user":{"login":"kevinushey","id":1976582,"avatar_url":"https://avatars.githubusercontent.com/u/1976582?v=3","gravatar_id":"","url":"https://api.github.com/users/kevinushey","html_url":"https://github.com/kevinushey","followers_url":"https://api.github.com/users/kevinushey/followers","following_url":"https://api.github.com/users/kevinushey/following{/other_user}","gists_url":"https://api.github.com/users/kevinushey/gists{/gist_id}","starred_url":"https://api.github.com/users/kevinushey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kevinushey/subscriptions","organizations_url":"https://api.github.com/users/kevinushey/orgs","repos_url":"https://api.github.com/users/kevinushey/repos","events_url":"https://api.github.com/users/kevinushey/events{/privacy}","received_events_url":"https://api.github.com/users/kevinushey/received_events","type":"User","site_admin":false},"body":"This PR resolves an issue where attempting to preview an HTML notebook would not preserve custom (pandoc-generated) highlighting schemes.\r\n\r\nThe overarching issue was that, because we rendered code directly as HTML (rather than as Markdown), the pandoc highlighter did not run on that chunk. The resolution here is to just render the code as markdown instead, so that the pandoc highlighter (if active) can take charge in rendering the code as desired.","created_at":"2016-08-11T22:29:42Z","updated_at":"2016-08-11T22:29:42Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/rstudio/rmarkdown/pulls/773/commits","review_comments_url":"https://api.github.com/repos/rstudio/rmarkdown/pulls/773/comments","review_comment_url":"https://api.github.com/repos/rstudio/rmarkdown/pulls/comments{/number}","comments_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/773/comments","statuses_url":"https://api.github.com/repos/rstudio/rmarkdown/statuses/e7599a610541bfcb527e7542f05d5b2468ffe8b4","head":{"label":"rstudio:bugfix/notebook-code-render","ref":"bugfix/notebook-code-render","sha":"e7599a610541bfcb527e7542f05d5b2468ffe8b4","user":{"login":"rstudio","id":513560,"avatar_url":"https://avatars.githubusercontent.com/u/513560?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"repo":{"id":16146440,"name":"rmarkdown","full_name":"rstudio/rmarkdown","owner":{"login":"rstudio","id":513560,"avatar_url":"https://avatars.githubusercontent.com/u/513560?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rstudio/rmarkdown","description":"Dynamic Documents for R","fork":false,"url":"https://api.github.com/repos/rstudio/rmarkdown","forks_url":"https://api.github.com/repos/rstudio/rmarkdown/forks","keys_url":"https://api.github.com/repos/rstudio/rmarkdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rstudio/rmarkdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rstudio/rmarkdown/teams","hooks_url":"https://api.github.com/repos/rstudio/rmarkdown/hooks","issue_events_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/events{/number}","events_url":"https://api.github.com/repos/rstudio/rmarkdown/events","assignees_url":"https://api.github.com/repos/rstudio/rmarkdown/assignees{/user}","branches_url":"https://api.github.com/repos/rstudio/rmarkdown/branches{/branch}","tags_url":"https://api.github.com/repos/rstudio/rmarkdown/tags","blobs_url":"https://api.github.com/repos/rstudio/rmarkdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rstudio/rmarkdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rstudio/rmarkdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/rstudio/rmarkdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rstudio/rmarkdown/statuses/{sha}","languages_url":"https://api.github.com/repos/rstudio/rmarkdown/languages","stargazers_url":"https://api.github.com/repos/rstudio/rmarkdown/stargazers","contributors_url":"https://api.github.com/repos/rstudio/rmarkdown/contributors","subscribers_url":"https://api.github.com/repos/rstudio/rmarkdown/subscribers","subscription_url":"https://api.github.com/repos/rstudio/rmarkdown/subscription","commits_url":"https://api.github.com/repos/rstudio/rmarkdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/rstudio/rmarkdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/rstudio/rmarkdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/rstudio/rmarkdown/contents/{+path}","compare_url":"https://api.github.com/repos/rstudio/rmarkdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rstudio/rmarkdown/merges","archive_url":"https://api.github.com/repos/rstudio/rmarkdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rstudio/rmarkdown/downloads","issues_url":"https://api.github.com/repos/rstudio/rmarkdown/issues{/number}","pulls_url":"https://api.github.com/repos/rstudio/rmarkdown/pulls{/number}","milestones_url":"https://api.github.com/repos/rstudio/rmarkdown/milestones{/number}","notifications_url":"https://api.github.com/repos/rstudio/rmarkdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rstudio/rmarkdown/labels{/name}","releases_url":"https://api.github.com/repos/rstudio/rmarkdown/releases{/id}","deployments_url":"https://api.github.com/repos/rstudio/rmarkdown/deployments","created_at":"2014-01-22T17:25:19Z","updated_at":"2016-08-11T04:01:41Z","pushed_at":"2016-08-11T22:29:42Z","git_url":"git://github.com/rstudio/rmarkdown.git","ssh_url":"git@github.com:rstudio/rmarkdown.git","clone_url":"https://github.com/rstudio/rmarkdown.git","svn_url":"https://github.com/rstudio/rmarkdown","homepage":"http://rmarkdown.rstudio.com/","size":77810,"stargazers_count":576,"watchers_count":576,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":307,"mirror_url":null,"open_issues_count":168,"forks":307,"open_issues":168,"watchers":576,"default_branch":"master"}},"base":{"label":"rstudio:master","ref":"master","sha":"68006af0765258f14556b4c7709ce7b88b47631a","user":{"login":"rstudio","id":513560,"avatar_url":"https://avatars.githubusercontent.com/u/513560?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"repo":{"id":16146440,"name":"rmarkdown","full_name":"rstudio/rmarkdown","owner":{"login":"rstudio","id":513560,"avatar_url":"https://avatars.githubusercontent.com/u/513560?v=3","gravatar_id":"","url":"https://api.github.com/users/rstudio","html_url":"https://github.com/rstudio","followers_url":"https://api.github.com/users/rstudio/followers","following_url":"https://api.github.com/users/rstudio/following{/other_user}","gists_url":"https://api.github.com/users/rstudio/gists{/gist_id}","starred_url":"https://api.github.com/users/rstudio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rstudio/subscriptions","organizations_url":"https://api.github.com/users/rstudio/orgs","repos_url":"https://api.github.com/users/rstudio/repos","events_url":"https://api.github.com/users/rstudio/events{/privacy}","received_events_url":"https://api.github.com/users/rstudio/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/rstudio/rmarkdown","description":"Dynamic Documents for R","fork":false,"url":"https://api.github.com/repos/rstudio/rmarkdown","forks_url":"https://api.github.com/repos/rstudio/rmarkdown/forks","keys_url":"https://api.github.com/repos/rstudio/rmarkdown/keys{/key_id}","collaborators_url":"https://api.github.com/repos/rstudio/rmarkdown/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/rstudio/rmarkdown/teams","hooks_url":"https://api.github.com/repos/rstudio/rmarkdown/hooks","issue_events_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/events{/number}","events_url":"https://api.github.com/repos/rstudio/rmarkdown/events","assignees_url":"https://api.github.com/repos/rstudio/rmarkdown/assignees{/user}","branches_url":"https://api.github.com/repos/rstudio/rmarkdown/branches{/branch}","tags_url":"https://api.github.com/repos/rstudio/rmarkdown/tags","blobs_url":"https://api.github.com/repos/rstudio/rmarkdown/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/rstudio/rmarkdown/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/rstudio/rmarkdown/git/refs{/sha}","trees_url":"https://api.github.com/repos/rstudio/rmarkdown/git/trees{/sha}","statuses_url":"https://api.github.com/repos/rstudio/rmarkdown/statuses/{sha}","languages_url":"https://api.github.com/repos/rstudio/rmarkdown/languages","stargazers_url":"https://api.github.com/repos/rstudio/rmarkdown/stargazers","contributors_url":"https://api.github.com/repos/rstudio/rmarkdown/contributors","subscribers_url":"https://api.github.com/repos/rstudio/rmarkdown/subscribers","subscription_url":"https://api.github.com/repos/rstudio/rmarkdown/subscription","commits_url":"https://api.github.com/repos/rstudio/rmarkdown/commits{/sha}","git_commits_url":"https://api.github.com/repos/rstudio/rmarkdown/git/commits{/sha}","comments_url":"https://api.github.com/repos/rstudio/rmarkdown/comments{/number}","issue_comment_url":"https://api.github.com/repos/rstudio/rmarkdown/issues/comments{/number}","contents_url":"https://api.github.com/repos/rstudio/rmarkdown/contents/{+path}","compare_url":"https://api.github.com/repos/rstudio/rmarkdown/compare/{base}...{head}","merges_url":"https://api.github.com/repos/rstudio/rmarkdown/merges","archive_url":"https://api.github.com/repos/rstudio/rmarkdown/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/rstudio/rmarkdown/downloads","issues_url":"https://api.github.com/repos/rstudio/rmarkdown/issues{/number}","pulls_url":"https://api.github.com/repos/rstudio/rmarkdown/pulls{/number}","milestones_url":"https://api.github.com/repos/rstudio/rmarkdown/milestones{/number}","notifications_url":"https://api.github.com/repos/rstudio/rmarkdown/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/rstudio/rmarkdown/labels{/name}","releases_url":"https://api.github.com/repos/rstudio/rmarkdown/releases{/id}","deployments_url":"https://api.github.com/repos/rstudio/rmarkdown/deployments","created_at":"2014-01-22T17:25:19Z","updated_at":"2016-08-11T04:01:41Z","pushed_at":"2016-08-11T22:29:42Z","git_url":"git://github.com/rstudio/rmarkdown.git","ssh_url":"git@github.com:rstudio/rmarkdown.git","clone_url":"https://github.com/rstudio/rmarkdown.git","svn_url":"https://github.com/rstudio/rmarkdown","homepage":"http://rmarkdown.rstudio.com/","size":77810,"stargazers_count":576,"watchers_count":576,"language":"R","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":307,"mirror_url":null,"open_issues_count":168,"forks":307,"open_issues":168,"watchers":576,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/rstudio/rmarkdown/pulls/773"},"html":{"href":"https://github.com/rstudio/rmarkdown/pull/773"},"issue":{"href":"https://api.github.com/repos/rstudio/rmarkdown/issues/773"},"comments":{"href":"https://api.github.com/repos/rstudio/rmarkdown/issues/773/comments"},"review_comments":{"href":"https://api.github.com/repos/rstudio/rmarkdown/pulls/773/comments"},"review_comment":{"href":"https://api.github.com/repos/rstudio/rmarkdown/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/rstudio/rmarkdown/pulls/773/commits"},"statuses":{"href":"https://api.github.com/repos/rstudio/rmarkdown/statuses/e7599a610541bfcb527e7542f05d5b2468ffe8b4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":2,"additions":8,"deletions":11,"changed_files":1}}
{"actor":{"display_login":"kevinushey"}}