{"action":"created","comment":{"url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/comments/73681078","id":73681078,"diff_hunk":"@@ -148,6 +148,13 @@ You can mark samples as drafts if they are still work-in-progress. This means th\n }--->\n ```\n \n+#### How to style examples\n+\n+You can’t reference external stylesheets when creating samples. AMP by Example provides a default styling for common elements (p, h1, h2, h3, a, ...) which you should use. All styles must live in the head of the document using the tag `<style amp-custom>`.","path":"README.md","position":6,"original_position":6,"commit_id":"e56970798b4bf9e43ba448ce1bdacaf6a46d0e2d","original_commit_id":"e56970798b4bf9e43ba448ce1bdacaf6a46d0e2d","user":{"login":"sebastianbenz","id":380472,"avatar_url":"https://avatars.githubusercontent.com/u/380472?v=3","gravatar_id":"","url":"https://api.github.com/users/sebastianbenz","html_url":"https://github.com/sebastianbenz","followers_url":"https://api.github.com/users/sebastianbenz/followers","following_url":"https://api.github.com/users/sebastianbenz/following{/other_user}","gists_url":"https://api.github.com/users/sebastianbenz/gists{/gist_id}","starred_url":"https://api.github.com/users/sebastianbenz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sebastianbenz/subscriptions","organizations_url":"https://api.github.com/users/sebastianbenz/orgs","repos_url":"https://api.github.com/users/sebastianbenz/repos","events_url":"https://api.github.com/users/sebastianbenz/events{/privacy}","received_events_url":"https://api.github.com/users/sebastianbenz/received_events","type":"User","site_admin":false},"body":"can you make \"default styling\" link to styles.css","created_at":"2016-08-05T11:57:37Z","updated_at":"2016-08-05T11:57:37Z","html_url":"https://github.com/ampproject/amp-by-example/pull/268#discussion_r73681078","pull_request_url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/268","_links":{"self":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/comments/73681078"},"html":{"href":"https://github.com/ampproject/amp-by-example/pull/268#discussion_r73681078"},"pull_request":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/268"}}},"pull_request":{"url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/268","id":77471899,"html_url":"https://github.com/ampproject/amp-by-example/pull/268","diff_url":"https://github.com/ampproject/amp-by-example/pull/268.diff","patch_url":"https://github.com/ampproject/amp-by-example/pull/268.patch","issue_url":"https://api.github.com/repos/ampproject/amp-by-example/issues/268","number":268,"state":"open","locked":false,"title":"Add explanation about AMPByExample CSS","user":{"login":"kul3r4","id":820891,"avatar_url":"https://avatars.githubusercontent.com/u/820891?v=3","gravatar_id":"","url":"https://api.github.com/users/kul3r4","html_url":"https://github.com/kul3r4","followers_url":"https://api.github.com/users/kul3r4/followers","following_url":"https://api.github.com/users/kul3r4/following{/other_user}","gists_url":"https://api.github.com/users/kul3r4/gists{/gist_id}","starred_url":"https://api.github.com/users/kul3r4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kul3r4/subscriptions","organizations_url":"https://api.github.com/users/kul3r4/orgs","repos_url":"https://api.github.com/users/kul3r4/repos","events_url":"https://api.github.com/users/kul3r4/events{/privacy}","received_events_url":"https://api.github.com/users/kul3r4/received_events","type":"User","site_admin":false},"body":"There is some confusion about how AMPByExample manages the CSS for the sample pages. This is an attempt on improving the documentation.\r\n@sebastianbenz @juliantoledo @borisf ","created_at":"2016-07-14T15:04:55Z","updated_at":"2016-08-05T11:57:37Z","closed_at":null,"merged_at":null,"merge_commit_sha":"884d02ed3b79936f563d79851f8bb5740c0ab9e0","assignee":null,"assignees":[],"milestone":null,"commits_url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/268/commits","review_comments_url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/268/comments","review_comment_url":"https://api.github.com/repos/ampproject/amp-by-example/pulls/comments{/number}","comments_url":"https://api.github.com/repos/ampproject/amp-by-example/issues/268/comments","statuses_url":"https://api.github.com/repos/ampproject/amp-by-example/statuses/e56970798b4bf9e43ba448ce1bdacaf6a46d0e2d","head":{"label":"kul3r4:improve-documentation","ref":"improve-documentation","sha":"e56970798b4bf9e43ba448ce1bdacaf6a46d0e2d","user":{"login":"kul3r4","id":820891,"avatar_url":"https://avatars.githubusercontent.com/u/820891?v=3","gravatar_id":"","url":"https://api.github.com/users/kul3r4","html_url":"https://github.com/kul3r4","followers_url":"https://api.github.com/users/kul3r4/followers","following_url":"https://api.github.com/users/kul3r4/following{/other_user}","gists_url":"https://api.github.com/users/kul3r4/gists{/gist_id}","starred_url":"https://api.github.com/users/kul3r4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kul3r4/subscriptions","organizations_url":"https://api.github.com/users/kul3r4/orgs","repos_url":"https://api.github.com/users/kul3r4/repos","events_url":"https://api.github.com/users/kul3r4/events{/privacy}","received_events_url":"https://api.github.com/users/kul3r4/received_events","type":"User","site_admin":false},"repo":{"id":52002202,"name":"amp-by-example","full_name":"kul3r4/amp-by-example","owner":{"login":"kul3r4","id":820891,"avatar_url":"https://avatars.githubusercontent.com/u/820891?v=3","gravatar_id":"","url":"https://api.github.com/users/kul3r4","html_url":"https://github.com/kul3r4","followers_url":"https://api.github.com/users/kul3r4/followers","following_url":"https://api.github.com/users/kul3r4/following{/other_user}","gists_url":"https://api.github.com/users/kul3r4/gists{/gist_id}","starred_url":"https://api.github.com/users/kul3r4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kul3r4/subscriptions","organizations_url":"https://api.github.com/users/kul3r4/orgs","repos_url":"https://api.github.com/users/kul3r4/repos","events_url":"https://api.github.com/users/kul3r4/events{/privacy}","received_events_url":"https://api.github.com/users/kul3r4/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/kul3r4/amp-by-example","description":"Accelerated Mobile Pages in Action","fork":true,"url":"https://api.github.com/repos/kul3r4/amp-by-example","forks_url":"https://api.github.com/repos/kul3r4/amp-by-example/forks","keys_url":"https://api.github.com/repos/kul3r4/amp-by-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/kul3r4/amp-by-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/kul3r4/amp-by-example/teams","hooks_url":"https://api.github.com/repos/kul3r4/amp-by-example/hooks","issue_events_url":"https://api.github.com/repos/kul3r4/amp-by-example/issues/events{/number}","events_url":"https://api.github.com/repos/kul3r4/amp-by-example/events","assignees_url":"https://api.github.com/repos/kul3r4/amp-by-example/assignees{/user}","branches_url":"https://api.github.com/repos/kul3r4/amp-by-example/branches{/branch}","tags_url":"https://api.github.com/repos/kul3r4/amp-by-example/tags","blobs_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/kul3r4/amp-by-example/statuses/{sha}","languages_url":"https://api.github.com/repos/kul3r4/amp-by-example/languages","stargazers_url":"https://api.github.com/repos/kul3r4/amp-by-example/stargazers","contributors_url":"https://api.github.com/repos/kul3r4/amp-by-example/contributors","subscribers_url":"https://api.github.com/repos/kul3r4/amp-by-example/subscribers","subscription_url":"https://api.github.com/repos/kul3r4/amp-by-example/subscription","commits_url":"https://api.github.com/repos/kul3r4/amp-by-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/kul3r4/amp-by-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/kul3r4/amp-by-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/kul3r4/amp-by-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/kul3r4/amp-by-example/contents/{+path}","compare_url":"https://api.github.com/repos/kul3r4/amp-by-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/kul3r4/amp-by-example/merges","archive_url":"https://api.github.com/repos/kul3r4/amp-by-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/kul3r4/amp-by-example/downloads","issues_url":"https://api.github.com/repos/kul3r4/amp-by-example/issues{/number}","pulls_url":"https://api.github.com/repos/kul3r4/amp-by-example/pulls{/number}","milestones_url":"https://api.github.com/repos/kul3r4/amp-by-example/milestones{/number}","notifications_url":"https://api.github.com/repos/kul3r4/amp-by-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/kul3r4/amp-by-example/labels{/name}","releases_url":"https://api.github.com/repos/kul3r4/amp-by-example/releases{/id}","deployments_url":"https://api.github.com/repos/kul3r4/amp-by-example/deployments","created_at":"2016-02-18T11:18:36Z","updated_at":"2016-02-18T11:18:36Z","pushed_at":"2016-08-04T15:04:17Z","git_url":"git://github.com/kul3r4/amp-by-example.git","ssh_url":"git@github.com:kul3r4/amp-by-example.git","clone_url":"https://github.com/kul3r4/amp-by-example.git","svn_url":"https://github.com/kul3r4/amp-by-example","homepage":"http://amp-by-example.appspot.com/","size":96052,"stargazers_count":0,"watchers_count":0,"language":"HTML","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":"ampproject:master","ref":"master","sha":"e37fbd1423369236dc83d6fda9ea9e864d5ce491","user":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"repo":{"id":51327024,"name":"amp-by-example","full_name":"ampproject/amp-by-example","owner":{"login":"ampproject","id":14114390,"avatar_url":"https://avatars.githubusercontent.com/u/14114390?v=3","gravatar_id":"","url":"https://api.github.com/users/ampproject","html_url":"https://github.com/ampproject","followers_url":"https://api.github.com/users/ampproject/followers","following_url":"https://api.github.com/users/ampproject/following{/other_user}","gists_url":"https://api.github.com/users/ampproject/gists{/gist_id}","starred_url":"https://api.github.com/users/ampproject/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ampproject/subscriptions","organizations_url":"https://api.github.com/users/ampproject/orgs","repos_url":"https://api.github.com/users/ampproject/repos","events_url":"https://api.github.com/users/ampproject/events{/privacy}","received_events_url":"https://api.github.com/users/ampproject/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/ampproject/amp-by-example","description":"A hands-on introduction to Accelerated Mobile Pages (AMP) focusing on code and live samples.","fork":false,"url":"https://api.github.com/repos/ampproject/amp-by-example","forks_url":"https://api.github.com/repos/ampproject/amp-by-example/forks","keys_url":"https://api.github.com/repos/ampproject/amp-by-example/keys{/key_id}","collaborators_url":"https://api.github.com/repos/ampproject/amp-by-example/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/ampproject/amp-by-example/teams","hooks_url":"https://api.github.com/repos/ampproject/amp-by-example/hooks","issue_events_url":"https://api.github.com/repos/ampproject/amp-by-example/issues/events{/number}","events_url":"https://api.github.com/repos/ampproject/amp-by-example/events","assignees_url":"https://api.github.com/repos/ampproject/amp-by-example/assignees{/user}","branches_url":"https://api.github.com/repos/ampproject/amp-by-example/branches{/branch}","tags_url":"https://api.github.com/repos/ampproject/amp-by-example/tags","blobs_url":"https://api.github.com/repos/ampproject/amp-by-example/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/ampproject/amp-by-example/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/ampproject/amp-by-example/git/refs{/sha}","trees_url":"https://api.github.com/repos/ampproject/amp-by-example/git/trees{/sha}","statuses_url":"https://api.github.com/repos/ampproject/amp-by-example/statuses/{sha}","languages_url":"https://api.github.com/repos/ampproject/amp-by-example/languages","stargazers_url":"https://api.github.com/repos/ampproject/amp-by-example/stargazers","contributors_url":"https://api.github.com/repos/ampproject/amp-by-example/contributors","subscribers_url":"https://api.github.com/repos/ampproject/amp-by-example/subscribers","subscription_url":"https://api.github.com/repos/ampproject/amp-by-example/subscription","commits_url":"https://api.github.com/repos/ampproject/amp-by-example/commits{/sha}","git_commits_url":"https://api.github.com/repos/ampproject/amp-by-example/git/commits{/sha}","comments_url":"https://api.github.com/repos/ampproject/amp-by-example/comments{/number}","issue_comment_url":"https://api.github.com/repos/ampproject/amp-by-example/issues/comments{/number}","contents_url":"https://api.github.com/repos/ampproject/amp-by-example/contents/{+path}","compare_url":"https://api.github.com/repos/ampproject/amp-by-example/compare/{base}...{head}","merges_url":"https://api.github.com/repos/ampproject/amp-by-example/merges","archive_url":"https://api.github.com/repos/ampproject/amp-by-example/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/ampproject/amp-by-example/downloads","issues_url":"https://api.github.com/repos/ampproject/amp-by-example/issues{/number}","pulls_url":"https://api.github.com/repos/ampproject/amp-by-example/pulls{/number}","milestones_url":"https://api.github.com/repos/ampproject/amp-by-example/milestones{/number}","notifications_url":"https://api.github.com/repos/ampproject/amp-by-example/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/ampproject/amp-by-example/labels{/name}","releases_url":"https://api.github.com/repos/ampproject/amp-by-example/releases{/id}","deployments_url":"https://api.github.com/repos/ampproject/amp-by-example/deployments","created_at":"2016-02-08T21:05:29Z","updated_at":"2016-08-04T09:12:08Z","pushed_at":"2016-08-05T11:55:49Z","git_url":"git://github.com/ampproject/amp-by-example.git","ssh_url":"git@github.com:ampproject/amp-by-example.git","clone_url":"https://github.com/ampproject/amp-by-example.git","svn_url":"https://github.com/ampproject/amp-by-example","homepage":"http://ampbyexample.com/","size":98234,"stargazers_count":151,"watchers_count":151,"language":"HTML","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":71,"mirror_url":null,"open_issues_count":72,"forks":71,"open_issues":72,"watchers":151,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/268"},"html":{"href":"https://github.com/ampproject/amp-by-example/pull/268"},"issue":{"href":"https://api.github.com/repos/ampproject/amp-by-example/issues/268"},"comments":{"href":"https://api.github.com/repos/ampproject/amp-by-example/issues/268/comments"},"review_comments":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/268/comments"},"review_comment":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/ampproject/amp-by-example/pulls/268/commits"},"statuses":{"href":"https://api.github.com/repos/ampproject/amp-by-example/statuses/e56970798b4bf9e43ba448ce1bdacaf6a46d0e2d"}}}}
{"actor":{"display_login":"sebastianbenz"}}