{"action":"reopened","number":1903,"pull_request":{"url":"https://api.github.com/repos/jgm/pandoc/pulls/1903","id":28058661,"html_url":"https://github.com/jgm/pandoc/pull/1903","diff_url":"https://github.com/jgm/pandoc/pull/1903.diff","patch_url":"https://github.com/jgm/pandoc/pull/1903.patch","issue_url":"https://api.github.com/repos/jgm/pandoc/issues/1903","number":1903,"state":"open","locked":false,"title":"Wrap code block HTML table in a div element","user":{"login":"sapek","id":449129,"avatar_url":"https://avatars.githubusercontent.com/u/449129?v=3","gravatar_id":"","url":"https://api.github.com/users/sapek","html_url":"https://github.com/sapek","followers_url":"https://api.github.com/users/sapek/followers","following_url":"https://api.github.com/users/sapek/following{/other_user}","gists_url":"https://api.github.com/users/sapek/gists{/gist_id}","starred_url":"https://api.github.com/users/sapek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapek/subscriptions","organizations_url":"https://api.github.com/users/sapek/orgs","repos_url":"https://api.github.com/users/sapek/repos","events_url":"https://api.github.com/users/sapek/events{/privacy}","received_events_url":"https://api.github.com/users/sapek/received_events","type":"User","site_admin":false},"body":"Syntax highlighted code blocks are written out as HTML tables which are\r\nimpossible to format via styles for different screen widths. This means\r\nthat pandoc generated pages with code blocks must have a fixed minimal\r\nwidth, making them hard to read on narrower screens.\r\n\r\nWrapping the table in a `<div>` allows formating a code block that will\r\nhave a horizontal scroll bar if the content doesn't fit the screen\r\nwidth, by adding the following style:\r\n\r\n    div.sourceCode {\r\n        overflow-x: auto;\r\n    }\r\n\r\nThis enables pandoc to generate responsive HTML pages.","created_at":"2015-01-26T20:45:17Z","updated_at":"2015-03-28T05:45:03Z","closed_at":null,"merged_at":null,"merge_commit_sha":"129ea6ee04a35ccbdd38749ee492c9177abb188b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jgm/pandoc/pulls/1903/commits","review_comments_url":"https://api.github.com/repos/jgm/pandoc/pulls/1903/comments","review_comment_url":"https://api.github.com/repos/jgm/pandoc/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jgm/pandoc/issues/1903/comments","statuses_url":"https://api.github.com/repos/jgm/pandoc/statuses/1eef883f424475006bf33be2d9a9559f47891a10","head":{"label":"sapek:div-code-block","ref":"div-code-block","sha":"1eef883f424475006bf33be2d9a9559f47891a10","user":{"login":"sapek","id":449129,"avatar_url":"https://avatars.githubusercontent.com/u/449129?v=3","gravatar_id":"","url":"https://api.github.com/users/sapek","html_url":"https://github.com/sapek","followers_url":"https://api.github.com/users/sapek/followers","following_url":"https://api.github.com/users/sapek/following{/other_user}","gists_url":"https://api.github.com/users/sapek/gists{/gist_id}","starred_url":"https://api.github.com/users/sapek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapek/subscriptions","organizations_url":"https://api.github.com/users/sapek/orgs","repos_url":"https://api.github.com/users/sapek/repos","events_url":"https://api.github.com/users/sapek/events{/privacy}","received_events_url":"https://api.github.com/users/sapek/received_events","type":"User","site_admin":false},"repo":{"id":29850585,"name":"pandoc","full_name":"sapek/pandoc","owner":{"login":"sapek","id":449129,"avatar_url":"https://avatars.githubusercontent.com/u/449129?v=3","gravatar_id":"","url":"https://api.github.com/users/sapek","html_url":"https://github.com/sapek","followers_url":"https://api.github.com/users/sapek/followers","following_url":"https://api.github.com/users/sapek/following{/other_user}","gists_url":"https://api.github.com/users/sapek/gists{/gist_id}","starred_url":"https://api.github.com/users/sapek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sapek/subscriptions","organizations_url":"https://api.github.com/users/sapek/orgs","repos_url":"https://api.github.com/users/sapek/repos","events_url":"https://api.github.com/users/sapek/events{/privacy}","received_events_url":"https://api.github.com/users/sapek/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/sapek/pandoc","description":"Universal markup converter","fork":true,"url":"https://api.github.com/repos/sapek/pandoc","forks_url":"https://api.github.com/repos/sapek/pandoc/forks","keys_url":"https://api.github.com/repos/sapek/pandoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sapek/pandoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sapek/pandoc/teams","hooks_url":"https://api.github.com/repos/sapek/pandoc/hooks","issue_events_url":"https://api.github.com/repos/sapek/pandoc/issues/events{/number}","events_url":"https://api.github.com/repos/sapek/pandoc/events","assignees_url":"https://api.github.com/repos/sapek/pandoc/assignees{/user}","branches_url":"https://api.github.com/repos/sapek/pandoc/branches{/branch}","tags_url":"https://api.github.com/repos/sapek/pandoc/tags","blobs_url":"https://api.github.com/repos/sapek/pandoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sapek/pandoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sapek/pandoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/sapek/pandoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sapek/pandoc/statuses/{sha}","languages_url":"https://api.github.com/repos/sapek/pandoc/languages","stargazers_url":"https://api.github.com/repos/sapek/pandoc/stargazers","contributors_url":"https://api.github.com/repos/sapek/pandoc/contributors","subscribers_url":"https://api.github.com/repos/sapek/pandoc/subscribers","subscription_url":"https://api.github.com/repos/sapek/pandoc/subscription","commits_url":"https://api.github.com/repos/sapek/pandoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/sapek/pandoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/sapek/pandoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/sapek/pandoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/sapek/pandoc/contents/{+path}","compare_url":"https://api.github.com/repos/sapek/pandoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sapek/pandoc/merges","archive_url":"https://api.github.com/repos/sapek/pandoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sapek/pandoc/downloads","issues_url":"https://api.github.com/repos/sapek/pandoc/issues{/number}","pulls_url":"https://api.github.com/repos/sapek/pandoc/pulls{/number}","milestones_url":"https://api.github.com/repos/sapek/pandoc/milestones{/number}","notifications_url":"https://api.github.com/repos/sapek/pandoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sapek/pandoc/labels{/name}","releases_url":"https://api.github.com/repos/sapek/pandoc/releases{/id}","created_at":"2015-01-26T07:49:14Z","updated_at":"2015-01-26T07:49:17Z","pushed_at":"2015-01-26T23:21:02Z","git_url":"git://github.com/sapek/pandoc.git","ssh_url":"git@github.com:sapek/pandoc.git","clone_url":"https://github.com/sapek/pandoc.git","svn_url":"https://github.com/sapek/pandoc","homepage":"http://johnmacfarlane.net/pandoc","size":22379,"stargazers_count":0,"watchers_count":0,"language":"Haskell","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"jgm:master","ref":"master","sha":"33d1c8cc0154266a2a54e9050408422c7884acdf","user":{"login":"jgm","id":3044,"avatar_url":"https://avatars.githubusercontent.com/u/3044?v=3","gravatar_id":"","url":"https://api.github.com/users/jgm","html_url":"https://github.com/jgm","followers_url":"https://api.github.com/users/jgm/followers","following_url":"https://api.github.com/users/jgm/following{/other_user}","gists_url":"https://api.github.com/users/jgm/gists{/gist_id}","starred_url":"https://api.github.com/users/jgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgm/subscriptions","organizations_url":"https://api.github.com/users/jgm/orgs","repos_url":"https://api.github.com/users/jgm/repos","events_url":"https://api.github.com/users/jgm/events{/privacy}","received_events_url":"https://api.github.com/users/jgm/received_events","type":"User","site_admin":false},"repo":{"id":571770,"name":"pandoc","full_name":"jgm/pandoc","owner":{"login":"jgm","id":3044,"avatar_url":"https://avatars.githubusercontent.com/u/3044?v=3","gravatar_id":"","url":"https://api.github.com/users/jgm","html_url":"https://github.com/jgm","followers_url":"https://api.github.com/users/jgm/followers","following_url":"https://api.github.com/users/jgm/following{/other_user}","gists_url":"https://api.github.com/users/jgm/gists{/gist_id}","starred_url":"https://api.github.com/users/jgm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jgm/subscriptions","organizations_url":"https://api.github.com/users/jgm/orgs","repos_url":"https://api.github.com/users/jgm/repos","events_url":"https://api.github.com/users/jgm/events{/privacy}","received_events_url":"https://api.github.com/users/jgm/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jgm/pandoc","description":"Universal markup converter","fork":false,"url":"https://api.github.com/repos/jgm/pandoc","forks_url":"https://api.github.com/repos/jgm/pandoc/forks","keys_url":"https://api.github.com/repos/jgm/pandoc/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jgm/pandoc/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jgm/pandoc/teams","hooks_url":"https://api.github.com/repos/jgm/pandoc/hooks","issue_events_url":"https://api.github.com/repos/jgm/pandoc/issues/events{/number}","events_url":"https://api.github.com/repos/jgm/pandoc/events","assignees_url":"https://api.github.com/repos/jgm/pandoc/assignees{/user}","branches_url":"https://api.github.com/repos/jgm/pandoc/branches{/branch}","tags_url":"https://api.github.com/repos/jgm/pandoc/tags","blobs_url":"https://api.github.com/repos/jgm/pandoc/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jgm/pandoc/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jgm/pandoc/git/refs{/sha}","trees_url":"https://api.github.com/repos/jgm/pandoc/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jgm/pandoc/statuses/{sha}","languages_url":"https://api.github.com/repos/jgm/pandoc/languages","stargazers_url":"https://api.github.com/repos/jgm/pandoc/stargazers","contributors_url":"https://api.github.com/repos/jgm/pandoc/contributors","subscribers_url":"https://api.github.com/repos/jgm/pandoc/subscribers","subscription_url":"https://api.github.com/repos/jgm/pandoc/subscription","commits_url":"https://api.github.com/repos/jgm/pandoc/commits{/sha}","git_commits_url":"https://api.github.com/repos/jgm/pandoc/git/commits{/sha}","comments_url":"https://api.github.com/repos/jgm/pandoc/comments{/number}","issue_comment_url":"https://api.github.com/repos/jgm/pandoc/issues/comments{/number}","contents_url":"https://api.github.com/repos/jgm/pandoc/contents/{+path}","compare_url":"https://api.github.com/repos/jgm/pandoc/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jgm/pandoc/merges","archive_url":"https://api.github.com/repos/jgm/pandoc/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jgm/pandoc/downloads","issues_url":"https://api.github.com/repos/jgm/pandoc/issues{/number}","pulls_url":"https://api.github.com/repos/jgm/pandoc/pulls{/number}","milestones_url":"https://api.github.com/repos/jgm/pandoc/milestones{/number}","notifications_url":"https://api.github.com/repos/jgm/pandoc/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jgm/pandoc/labels{/name}","releases_url":"https://api.github.com/repos/jgm/pandoc/releases{/id}","created_at":"2010-03-20T20:34:23Z","updated_at":"2015-03-28T05:13:25Z","pushed_at":"2015-03-28T05:13:25Z","git_url":"git://github.com/jgm/pandoc.git","ssh_url":"git@github.com:jgm/pandoc.git","clone_url":"https://github.com/jgm/pandoc.git","svn_url":"https://github.com/jgm/pandoc","homepage":"http://johnmacfarlane.net/pandoc","size":32570,"stargazers_count":3732,"watchers_count":3732,"language":"Haskell","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":494,"mirror_url":null,"open_issues_count":307,"forks":494,"open_issues":307,"watchers":3732,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jgm/pandoc/pulls/1903"},"html":{"href":"https://github.com/jgm/pandoc/pull/1903"},"issue":{"href":"https://api.github.com/repos/jgm/pandoc/issues/1903"},"comments":{"href":"https://api.github.com/repos/jgm/pandoc/issues/1903/comments"},"review_comments":{"href":"https://api.github.com/repos/jgm/pandoc/pulls/1903/comments"},"review_comment":{"href":"https://api.github.com/repos/jgm/pandoc/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jgm/pandoc/pulls/1903/commits"},"statuses":{"href":"https://api.github.com/repos/jgm/pandoc/statuses/1eef883f424475006bf33be2d9a9559f47891a10"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":21,"review_comments":0,"commits":1,"additions":6,"deletions":5,"changed_files":3}}