{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/spen/prism/pulls/1","id":100797940,"html_url":"https://github.com/spen/prism/pull/1","diff_url":"https://github.com/spen/prism/pull/1.diff","patch_url":"https://github.com/spen/prism/pull/1.patch","issue_url":"https://api.github.com/repos/spen/prism/issues/1","number":1,"state":"open","locked":false,"title":"Add `es6` alias for `javascript` language.","user":{"login":"spen","id":4335450,"avatar_url":"https://avatars.githubusercontent.com/u/4335450?v=3","gravatar_id":"","url":"https://api.github.com/users/spen","html_url":"https://github.com/spen","followers_url":"https://api.github.com/users/spen/followers","following_url":"https://api.github.com/users/spen/following{/other_user}","gists_url":"https://api.github.com/users/spen/gists{/gist_id}","starred_url":"https://api.github.com/users/spen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spen/subscriptions","organizations_url":"https://api.github.com/users/spen/orgs","repos_url":"https://api.github.com/users/spen/repos","events_url":"https://api.github.com/users/spen/events{/privacy}","received_events_url":"https://api.github.com/users/spen/received_events","type":"User","site_admin":false},"body":"I'm currently working on a PR @ https://github.com/Automattic/wp-calypso/pull/10359 which implements Prism for the DevDocs of the [Calypso](https://github.com/Automattic/wp-calypso) project.\r\n\r\nOne issue that I've noticed is that ` ```es6` is not processed by Prism.\r\nI may be wrong here as I am fairly new to Prism but since `es6` support is already quite good in `prism-javascript.js` it seems to make sense to just add an alias.\r\n\r\nAlternatively we could replace all instances of ` ```es6` with ` ```js` but I feel that this may cause some issues with syntax highlighting on GitHub.com.\r\nAnother alternative might be to set the alias ourselves, but I feel other projects might benefit from having the alias set up upstream.\r\n\r\nTIA :)\r\n","created_at":"2017-01-10T02:00:17Z","updated_at":"2017-01-10T02:00:17Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/spen/prism/pulls/1/commits","review_comments_url":"https://api.github.com/repos/spen/prism/pulls/1/comments","review_comment_url":"https://api.github.com/repos/spen/prism/pulls/comments{/number}","comments_url":"https://api.github.com/repos/spen/prism/issues/1/comments","statuses_url":"https://api.github.com/repos/spen/prism/statuses/2ef599f4a885ed98c8ccf6f0dc2e5562b1d625ab","head":{"label":"spen:add/javascript/es6-alias","ref":"add/javascript/es6-alias","sha":"2ef599f4a885ed98c8ccf6f0dc2e5562b1d625ab","user":{"login":"spen","id":4335450,"avatar_url":"https://avatars.githubusercontent.com/u/4335450?v=3","gravatar_id":"","url":"https://api.github.com/users/spen","html_url":"https://github.com/spen","followers_url":"https://api.github.com/users/spen/followers","following_url":"https://api.github.com/users/spen/following{/other_user}","gists_url":"https://api.github.com/users/spen/gists{/gist_id}","starred_url":"https://api.github.com/users/spen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spen/subscriptions","organizations_url":"https://api.github.com/users/spen/orgs","repos_url":"https://api.github.com/users/spen/repos","events_url":"https://api.github.com/users/spen/events{/privacy}","received_events_url":"https://api.github.com/users/spen/received_events","type":"User","site_admin":false},"repo":{"id":78486701,"name":"prism","full_name":"spen/prism","owner":{"login":"spen","id":4335450,"avatar_url":"https://avatars.githubusercontent.com/u/4335450?v=3","gravatar_id":"","url":"https://api.github.com/users/spen","html_url":"https://github.com/spen","followers_url":"https://api.github.com/users/spen/followers","following_url":"https://api.github.com/users/spen/following{/other_user}","gists_url":"https://api.github.com/users/spen/gists{/gist_id}","starred_url":"https://api.github.com/users/spen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spen/subscriptions","organizations_url":"https://api.github.com/users/spen/orgs","repos_url":"https://api.github.com/users/spen/repos","events_url":"https://api.github.com/users/spen/events{/privacy}","received_events_url":"https://api.github.com/users/spen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spen/prism","description":"Lightweight, robust, elegant syntax highlighting.","fork":true,"url":"https://api.github.com/repos/spen/prism","forks_url":"https://api.github.com/repos/spen/prism/forks","keys_url":"https://api.github.com/repos/spen/prism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spen/prism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spen/prism/teams","hooks_url":"https://api.github.com/repos/spen/prism/hooks","issue_events_url":"https://api.github.com/repos/spen/prism/issues/events{/number}","events_url":"https://api.github.com/repos/spen/prism/events","assignees_url":"https://api.github.com/repos/spen/prism/assignees{/user}","branches_url":"https://api.github.com/repos/spen/prism/branches{/branch}","tags_url":"https://api.github.com/repos/spen/prism/tags","blobs_url":"https://api.github.com/repos/spen/prism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spen/prism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spen/prism/git/refs{/sha}","trees_url":"https://api.github.com/repos/spen/prism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spen/prism/statuses/{sha}","languages_url":"https://api.github.com/repos/spen/prism/languages","stargazers_url":"https://api.github.com/repos/spen/prism/stargazers","contributors_url":"https://api.github.com/repos/spen/prism/contributors","subscribers_url":"https://api.github.com/repos/spen/prism/subscribers","subscription_url":"https://api.github.com/repos/spen/prism/subscription","commits_url":"https://api.github.com/repos/spen/prism/commits{/sha}","git_commits_url":"https://api.github.com/repos/spen/prism/git/commits{/sha}","comments_url":"https://api.github.com/repos/spen/prism/comments{/number}","issue_comment_url":"https://api.github.com/repos/spen/prism/issues/comments{/number}","contents_url":"https://api.github.com/repos/spen/prism/contents/{+path}","compare_url":"https://api.github.com/repos/spen/prism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spen/prism/merges","archive_url":"https://api.github.com/repos/spen/prism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spen/prism/downloads","issues_url":"https://api.github.com/repos/spen/prism/issues{/number}","pulls_url":"https://api.github.com/repos/spen/prism/pulls{/number}","milestones_url":"https://api.github.com/repos/spen/prism/milestones{/number}","notifications_url":"https://api.github.com/repos/spen/prism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spen/prism/labels{/name}","releases_url":"https://api.github.com/repos/spen/prism/releases{/id}","deployments_url":"https://api.github.com/repos/spen/prism/deployments","created_at":"2017-01-10T01:46:39Z","updated_at":"2017-01-10T01:46:43Z","pushed_at":"2017-01-10T01:50:58Z","git_url":"git://github.com/spen/prism.git","ssh_url":"git@github.com:spen/prism.git","clone_url":"https://github.com/spen/prism.git","svn_url":"https://github.com/spen/prism","homepage":"http://prismjs.com","size":5979,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"gh-pages"}},"base":{"label":"spen:gh-pages","ref":"gh-pages","sha":"52020a00dd42660f935721910dbab9b081a5d39a","user":{"login":"spen","id":4335450,"avatar_url":"https://avatars.githubusercontent.com/u/4335450?v=3","gravatar_id":"","url":"https://api.github.com/users/spen","html_url":"https://github.com/spen","followers_url":"https://api.github.com/users/spen/followers","following_url":"https://api.github.com/users/spen/following{/other_user}","gists_url":"https://api.github.com/users/spen/gists{/gist_id}","starred_url":"https://api.github.com/users/spen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spen/subscriptions","organizations_url":"https://api.github.com/users/spen/orgs","repos_url":"https://api.github.com/users/spen/repos","events_url":"https://api.github.com/users/spen/events{/privacy}","received_events_url":"https://api.github.com/users/spen/received_events","type":"User","site_admin":false},"repo":{"id":78486701,"name":"prism","full_name":"spen/prism","owner":{"login":"spen","id":4335450,"avatar_url":"https://avatars.githubusercontent.com/u/4335450?v=3","gravatar_id":"","url":"https://api.github.com/users/spen","html_url":"https://github.com/spen","followers_url":"https://api.github.com/users/spen/followers","following_url":"https://api.github.com/users/spen/following{/other_user}","gists_url":"https://api.github.com/users/spen/gists{/gist_id}","starred_url":"https://api.github.com/users/spen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/spen/subscriptions","organizations_url":"https://api.github.com/users/spen/orgs","repos_url":"https://api.github.com/users/spen/repos","events_url":"https://api.github.com/users/spen/events{/privacy}","received_events_url":"https://api.github.com/users/spen/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/spen/prism","description":"Lightweight, robust, elegant syntax highlighting.","fork":true,"url":"https://api.github.com/repos/spen/prism","forks_url":"https://api.github.com/repos/spen/prism/forks","keys_url":"https://api.github.com/repos/spen/prism/keys{/key_id}","collaborators_url":"https://api.github.com/repos/spen/prism/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/spen/prism/teams","hooks_url":"https://api.github.com/repos/spen/prism/hooks","issue_events_url":"https://api.github.com/repos/spen/prism/issues/events{/number}","events_url":"https://api.github.com/repos/spen/prism/events","assignees_url":"https://api.github.com/repos/spen/prism/assignees{/user}","branches_url":"https://api.github.com/repos/spen/prism/branches{/branch}","tags_url":"https://api.github.com/repos/spen/prism/tags","blobs_url":"https://api.github.com/repos/spen/prism/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/spen/prism/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/spen/prism/git/refs{/sha}","trees_url":"https://api.github.com/repos/spen/prism/git/trees{/sha}","statuses_url":"https://api.github.com/repos/spen/prism/statuses/{sha}","languages_url":"https://api.github.com/repos/spen/prism/languages","stargazers_url":"https://api.github.com/repos/spen/prism/stargazers","contributors_url":"https://api.github.com/repos/spen/prism/contributors","subscribers_url":"https://api.github.com/repos/spen/prism/subscribers","subscription_url":"https://api.github.com/repos/spen/prism/subscription","commits_url":"https://api.github.com/repos/spen/prism/commits{/sha}","git_commits_url":"https://api.github.com/repos/spen/prism/git/commits{/sha}","comments_url":"https://api.github.com/repos/spen/prism/comments{/number}","issue_comment_url":"https://api.github.com/repos/spen/prism/issues/comments{/number}","contents_url":"https://api.github.com/repos/spen/prism/contents/{+path}","compare_url":"https://api.github.com/repos/spen/prism/compare/{base}...{head}","merges_url":"https://api.github.com/repos/spen/prism/merges","archive_url":"https://api.github.com/repos/spen/prism/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/spen/prism/downloads","issues_url":"https://api.github.com/repos/spen/prism/issues{/number}","pulls_url":"https://api.github.com/repos/spen/prism/pulls{/number}","milestones_url":"https://api.github.com/repos/spen/prism/milestones{/number}","notifications_url":"https://api.github.com/repos/spen/prism/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/spen/prism/labels{/name}","releases_url":"https://api.github.com/repos/spen/prism/releases{/id}","deployments_url":"https://api.github.com/repos/spen/prism/deployments","created_at":"2017-01-10T01:46:39Z","updated_at":"2017-01-10T01:46:43Z","pushed_at":"2017-01-10T01:50:58Z","git_url":"git://github.com/spen/prism.git","ssh_url":"git@github.com:spen/prism.git","clone_url":"https://github.com/spen/prism.git","svn_url":"https://github.com/spen/prism","homepage":"http://prismjs.com","size":5979,"stargazers_count":0,"watchers_count":0,"language":"JavaScript","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"gh-pages"}},"_links":{"self":{"href":"https://api.github.com/repos/spen/prism/pulls/1"},"html":{"href":"https://github.com/spen/prism/pull/1"},"issue":{"href":"https://api.github.com/repos/spen/prism/issues/1"},"comments":{"href":"https://api.github.com/repos/spen/prism/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/spen/prism/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/spen/prism/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/spen/prism/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/spen/prism/statuses/2ef599f4a885ed98c8ccf6f0dc2e5562b1d625ab"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":2,"deletions":1,"changed_files":1}}
{"actor":{"display_login":"spen"}}