{"action":"opened","number":4,"pull_request":{"url":"https://api.github.com/repos/lorefnon/plain-text-table/pulls/4","id":32274314,"html_url":"https://github.com/lorefnon/plain-text-table/pull/4","diff_url":"https://github.com/lorefnon/plain-text-table/pull/4.diff","patch_url":"https://github.com/lorefnon/plain-text-table/pull/4.patch","issue_url":"https://api.github.com/repos/lorefnon/plain-text-table/issues/4","number":4,"state":"open","locked":false,"title":"Add styling possibilities for the output","user":{"login":"jmini","id":1222165,"avatar_url":"https://avatars.githubusercontent.com/u/1222165?v=3","gravatar_id":"","url":"https://api.github.com/users/jmini","html_url":"https://github.com/jmini","followers_url":"https://api.github.com/users/jmini/followers","following_url":"https://api.github.com/users/jmini/following{/other_user}","gists_url":"https://api.github.com/users/jmini/gists{/gist_id}","starred_url":"https://api.github.com/users/jmini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmini/subscriptions","organizations_url":"https://api.github.com/users/jmini/orgs","repos_url":"https://api.github.com/users/jmini/repos","events_url":"https://api.github.com/users/jmini/events{/privacy}","received_events_url":"https://api.github.com/users/jmini/received_events","type":"User","site_admin":false},"body":"This pull request introduces an associative array to add the possibility to exchange the style.\r\n\r\nFor the moment I did not extend the UI but I would like to have some additional configuration options between the `#table-wrapper` and the `#ptt-wrapper`. In this case I think of a combo box providing those options:\r\n\r\n* Single border\r\n* Double border\r\n* ASCII characters\r\n\r\n__Single border__ correspond to the existing implementation.\r\n\r\n__Double border__ correspond to this array:\r\n\r\n        var style = {\r\n            horizontal: '═',\r\n            vertical: '║',\r\n            top_left: '╔',\r\n            top_center: '╦',\r\n            top_right: '╗',\r\n            middle_left: '╠',\r\n            middle_center: '╬',\r\n            middle_right: '╣',\r\n            bottom_left: '╚',\r\n            bottom_center: '╩',\r\n            bottom_right: '╝'\r\n        }\r\n\r\n__ASCII characters__ correspond to this array:\r\n\r\n        var style = {\r\n            horizontal: '-',\r\n            vertical: '|',\r\n            top_left: '+',\r\n            top_center: '+',\r\n            top_right: '+',\r\n            middle_left: '+',\r\n            middle_center: '+',\r\n            middle_right: '+',\r\n            bottom_left: '+',\r\n            bottom_center: '+',\r\n            bottom_right: '+'\r\n        }\r\n\r\n","created_at":"2015-03-30T22:30:36Z","updated_at":"2015-03-30T22:30:36Z","closed_at":null,"merged_at":null,"merge_commit_sha":"3f1912c022dae0a874bb08e34eeb1eb6f3cf1f46","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/lorefnon/plain-text-table/pulls/4/commits","review_comments_url":"https://api.github.com/repos/lorefnon/plain-text-table/pulls/4/comments","review_comment_url":"https://api.github.com/repos/lorefnon/plain-text-table/pulls/comments{/number}","comments_url":"https://api.github.com/repos/lorefnon/plain-text-table/issues/4/comments","statuses_url":"https://api.github.com/repos/lorefnon/plain-text-table/statuses/a66ab93fb4c42e6c16ca3b2f0a35ea0197a187c1","head":{"label":"jmini:patch1","ref":"patch1","sha":"a66ab93fb4c42e6c16ca3b2f0a35ea0197a187c1","user":{"login":"jmini","id":1222165,"avatar_url":"https://avatars.githubusercontent.com/u/1222165?v=3","gravatar_id":"","url":"https://api.github.com/users/jmini","html_url":"https://github.com/jmini","followers_url":"https://api.github.com/users/jmini/followers","following_url":"https://api.github.com/users/jmini/following{/other_user}","gists_url":"https://api.github.com/users/jmini/gists{/gist_id}","starred_url":"https://api.github.com/users/jmini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmini/subscriptions","organizations_url":"https://api.github.com/users/jmini/orgs","repos_url":"https://api.github.com/users/jmini/repos","events_url":"https://api.github.com/users/jmini/events{/privacy}","received_events_url":"https://api.github.com/users/jmini/received_events","type":"User","site_admin":false},"repo":{"id":33151053,"name":"plain-text-table","full_name":"jmini/plain-text-table","owner":{"login":"jmini","id":1222165,"avatar_url":"https://avatars.githubusercontent.com/u/1222165?v=3","gravatar_id":"","url":"https://api.github.com/users/jmini","html_url":"https://github.com/jmini","followers_url":"https://api.github.com/users/jmini/followers","following_url":"https://api.github.com/users/jmini/following{/other_user}","gists_url":"https://api.github.com/users/jmini/gists{/gist_id}","starred_url":"https://api.github.com/users/jmini/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jmini/subscriptions","organizations_url":"https://api.github.com/users/jmini/orgs","repos_url":"https://api.github.com/users/jmini/repos","events_url":"https://api.github.com/users/jmini/events{/privacy}","received_events_url":"https://api.github.com/users/jmini/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jmini/plain-text-table","description":"Interactively create and edit tables and export them to plain text","fork":true,"url":"https://api.github.com/repos/jmini/plain-text-table","forks_url":"https://api.github.com/repos/jmini/plain-text-table/forks","keys_url":"https://api.github.com/repos/jmini/plain-text-table/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jmini/plain-text-table/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jmini/plain-text-table/teams","hooks_url":"https://api.github.com/repos/jmini/plain-text-table/hooks","issue_events_url":"https://api.github.com/repos/jmini/plain-text-table/issues/events{/number}","events_url":"https://api.github.com/repos/jmini/plain-text-table/events","assignees_url":"https://api.github.com/repos/jmini/plain-text-table/assignees{/user}","branches_url":"https://api.github.com/repos/jmini/plain-text-table/branches{/branch}","tags_url":"https://api.github.com/repos/jmini/plain-text-table/tags","blobs_url":"https://api.github.com/repos/jmini/plain-text-table/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jmini/plain-text-table/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jmini/plain-text-table/git/refs{/sha}","trees_url":"https://api.github.com/repos/jmini/plain-text-table/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jmini/plain-text-table/statuses/{sha}","languages_url":"https://api.github.com/repos/jmini/plain-text-table/languages","stargazers_url":"https://api.github.com/repos/jmini/plain-text-table/stargazers","contributors_url":"https://api.github.com/repos/jmini/plain-text-table/contributors","subscribers_url":"https://api.github.com/repos/jmini/plain-text-table/subscribers","subscription_url":"https://api.github.com/repos/jmini/plain-text-table/subscription","commits_url":"https://api.github.com/repos/jmini/plain-text-table/commits{/sha}","git_commits_url":"https://api.github.com/repos/jmini/plain-text-table/git/commits{/sha}","comments_url":"https://api.github.com/repos/jmini/plain-text-table/comments{/number}","issue_comment_url":"https://api.github.com/repos/jmini/plain-text-table/issues/comments{/number}","contents_url":"https://api.github.com/repos/jmini/plain-text-table/contents/{+path}","compare_url":"https://api.github.com/repos/jmini/plain-text-table/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jmini/plain-text-table/merges","archive_url":"https://api.github.com/repos/jmini/plain-text-table/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jmini/plain-text-table/downloads","issues_url":"https://api.github.com/repos/jmini/plain-text-table/issues{/number}","pulls_url":"https://api.github.com/repos/jmini/plain-text-table/pulls{/number}","milestones_url":"https://api.github.com/repos/jmini/plain-text-table/milestones{/number}","notifications_url":"https://api.github.com/repos/jmini/plain-text-table/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jmini/plain-text-table/labels{/name}","releases_url":"https://api.github.com/repos/jmini/plain-text-table/releases{/id}","created_at":"2015-03-30T22:10:37Z","updated_at":"2015-03-30T22:10:37Z","pushed_at":"2015-03-30T22:27:27Z","git_url":"git://github.com/jmini/plain-text-table.git","ssh_url":"git@github.com:jmini/plain-text-table.git","clone_url":"https://github.com/jmini/plain-text-table.git","svn_url":"https://github.com/jmini/plain-text-table","homepage":null,"size":801,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"lorefnon:gh-pages","ref":"gh-pages","sha":"f15801cdbff783b9fb9d5837473f9dff545678b3","user":{"login":"lorefnon","id":1449492,"avatar_url":"https://avatars.githubusercontent.com/u/1449492?v=3","gravatar_id":"","url":"https://api.github.com/users/lorefnon","html_url":"https://github.com/lorefnon","followers_url":"https://api.github.com/users/lorefnon/followers","following_url":"https://api.github.com/users/lorefnon/following{/other_user}","gists_url":"https://api.github.com/users/lorefnon/gists{/gist_id}","starred_url":"https://api.github.com/users/lorefnon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorefnon/subscriptions","organizations_url":"https://api.github.com/users/lorefnon/orgs","repos_url":"https://api.github.com/users/lorefnon/repos","events_url":"https://api.github.com/users/lorefnon/events{/privacy}","received_events_url":"https://api.github.com/users/lorefnon/received_events","type":"User","site_admin":false},"repo":{"id":16024551,"name":"plain-text-table","full_name":"lorefnon/plain-text-table","owner":{"login":"lorefnon","id":1449492,"avatar_url":"https://avatars.githubusercontent.com/u/1449492?v=3","gravatar_id":"","url":"https://api.github.com/users/lorefnon","html_url":"https://github.com/lorefnon","followers_url":"https://api.github.com/users/lorefnon/followers","following_url":"https://api.github.com/users/lorefnon/following{/other_user}","gists_url":"https://api.github.com/users/lorefnon/gists{/gist_id}","starred_url":"https://api.github.com/users/lorefnon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorefnon/subscriptions","organizations_url":"https://api.github.com/users/lorefnon/orgs","repos_url":"https://api.github.com/users/lorefnon/repos","events_url":"https://api.github.com/users/lorefnon/events{/privacy}","received_events_url":"https://api.github.com/users/lorefnon/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/lorefnon/plain-text-table","description":"Interactively create and edit tables and export them to plain text","fork":false,"url":"https://api.github.com/repos/lorefnon/plain-text-table","forks_url":"https://api.github.com/repos/lorefnon/plain-text-table/forks","keys_url":"https://api.github.com/repos/lorefnon/plain-text-table/keys{/key_id}","collaborators_url":"https://api.github.com/repos/lorefnon/plain-text-table/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/lorefnon/plain-text-table/teams","hooks_url":"https://api.github.com/repos/lorefnon/plain-text-table/hooks","issue_events_url":"https://api.github.com/repos/lorefnon/plain-text-table/issues/events{/number}","events_url":"https://api.github.com/repos/lorefnon/plain-text-table/events","assignees_url":"https://api.github.com/repos/lorefnon/plain-text-table/assignees{/user}","branches_url":"https://api.github.com/repos/lorefnon/plain-text-table/branches{/branch}","tags_url":"https://api.github.com/repos/lorefnon/plain-text-table/tags","blobs_url":"https://api.github.com/repos/lorefnon/plain-text-table/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/lorefnon/plain-text-table/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/lorefnon/plain-text-table/git/refs{/sha}","trees_url":"https://api.github.com/repos/lorefnon/plain-text-table/git/trees{/sha}","statuses_url":"https://api.github.com/repos/lorefnon/plain-text-table/statuses/{sha}","languages_url":"https://api.github.com/repos/lorefnon/plain-text-table/languages","stargazers_url":"https://api.github.com/repos/lorefnon/plain-text-table/stargazers","contributors_url":"https://api.github.com/repos/lorefnon/plain-text-table/contributors","subscribers_url":"https://api.github.com/repos/lorefnon/plain-text-table/subscribers","subscription_url":"https://api.github.com/repos/lorefnon/plain-text-table/subscription","commits_url":"https://api.github.com/repos/lorefnon/plain-text-table/commits{/sha}","git_commits_url":"https://api.github.com/repos/lorefnon/plain-text-table/git/commits{/sha}","comments_url":"https://api.github.com/repos/lorefnon/plain-text-table/comments{/number}","issue_comment_url":"https://api.github.com/repos/lorefnon/plain-text-table/issues/comments{/number}","contents_url":"https://api.github.com/repos/lorefnon/plain-text-table/contents/{+path}","compare_url":"https://api.github.com/repos/lorefnon/plain-text-table/compare/{base}...{head}","merges_url":"https://api.github.com/repos/lorefnon/plain-text-table/merges","archive_url":"https://api.github.com/repos/lorefnon/plain-text-table/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/lorefnon/plain-text-table/downloads","issues_url":"https://api.github.com/repos/lorefnon/plain-text-table/issues{/number}","pulls_url":"https://api.github.com/repos/lorefnon/plain-text-table/pulls{/number}","milestones_url":"https://api.github.com/repos/lorefnon/plain-text-table/milestones{/number}","notifications_url":"https://api.github.com/repos/lorefnon/plain-text-table/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/lorefnon/plain-text-table/labels{/name}","releases_url":"https://api.github.com/repos/lorefnon/plain-text-table/releases{/id}","created_at":"2014-01-18T11:51:49Z","updated_at":"2015-03-07T08:05:54Z","pushed_at":"2015-03-30T22:30:37Z","git_url":"git://github.com/lorefnon/plain-text-table.git","ssh_url":"git@github.com:lorefnon/plain-text-table.git","clone_url":"https://github.com/lorefnon/plain-text-table.git","svn_url":"https://github.com/lorefnon/plain-text-table","homepage":null,"size":801,"stargazers_count":7,"watchers_count":7,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":true,"forks_count":3,"mirror_url":null,"open_issues_count":2,"forks":3,"open_issues":2,"watchers":7,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/lorefnon/plain-text-table/pulls/4"},"html":{"href":"https://github.com/lorefnon/plain-text-table/pull/4"},"issue":{"href":"https://api.github.com/repos/lorefnon/plain-text-table/issues/4"},"comments":{"href":"https://api.github.com/repos/lorefnon/plain-text-table/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/lorefnon/plain-text-table/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/lorefnon/plain-text-table/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/lorefnon/plain-text-table/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/lorefnon/plain-text-table/statuses/a66ab93fb4c42e6c16ca3b2f0a35ea0197a187c1"}},"merged":false,"mergeable":true,"mergeable_state":"clean","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":33,"deletions":15,"changed_files":1}}