{"action":"opened","issue":{"url":"https://api.github.com/repos/ampproject/docs/issues/757","repository_url":"https://api.github.com/repos/ampproject/docs","labels_url":"https://api.github.com/repos/ampproject/docs/issues/757/labels{/name}","comments_url":"https://api.github.com/repos/ampproject/docs/issues/757/comments","events_url":"https://api.github.com/repos/ampproject/docs/issues/757/events","html_url":"https://github.com/ampproject/docs/issues/757","id":275769703,"number":757,"title":"Automate callouts","user":{"login":"bpaduch","id":1012254,"avatar_url":"https://avatars3.githubusercontent.com/u/1012254?v=4","gravatar_id":"","url":"https://api.github.com/users/bpaduch","html_url":"https://github.com/bpaduch","followers_url":"https://api.github.com/users/bpaduch/followers","following_url":"https://api.github.com/users/bpaduch/following{/other_user}","gists_url":"https://api.github.com/users/bpaduch/gists{/gist_id}","starred_url":"https://api.github.com/users/bpaduch/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bpaduch/subscriptions","organizations_url":"https://api.github.com/users/bpaduch/orgs","repos_url":"https://api.github.com/users/bpaduch/repos","events_url":"https://api.github.com/users/bpaduch/events{/privacy}","received_events_url":"https://api.github.com/users/bpaduch/received_events","type":"User","site_admin":false},"labels":[{"id":629803200,"url":"https://api.github.com/repos/ampproject/docs/labels/FixIt","name":"FixIt","color":"5319e7","default":false},{"id":311567585,"url":"https://api.github.com/repos/ampproject/docs/labels/P3:%20Low","name":"P3: Low","color":"f2c0bf","default":false},{"id":360955529,"url":"https://api.github.com/repos/ampproject/docs/labels/Type:%20Site%20Infrastructure","name":"Type: Site Infrastructure","color":"3d85c6","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-11-21T16:11:36Z","updated_at":"2017-11-21T16:11:36Z","closed_at":null,"author_association":"COLLABORATOR","body":"Right now, we have to add some markup (like below), which muddies the markdown (example, the [amp-analytics component has a callout in the markdown file](https://github.com/ampproject/amphtml/blob/master/extensions/amp-analytics/amp-analytics.md)).\r\n\r\nMarkdown:\r\n\r\n```\r\n{% call callout('Read on', type='read') %}\r\nYour text here.\r\n{% endcall %}\r\n```\r\nRenders as:\r\n\r\n![note-callout](https://user-images.githubusercontent.com/1012254/33083076-67c543bc-ceac-11e7-8d6c-87aba97f6041.png)\r\n\r\nPossible issue: Grow has no pre-process step; might need this; Should ask Grow team (Jeremy) how he'd do this. Instead of calling Grow Run, call npm run, run other script before.\r\n\r\n"}}
{"actor":{"display_login":"bpaduch"}}