{"action":"created","issue":{"url":"https://api.github.com/repos/perl6/doc/issues/2091","repository_url":"https://api.github.com/repos/perl6/doc","labels_url":"https://api.github.com/repos/perl6/doc/issues/2091/labels{/name}","comments_url":"https://api.github.com/repos/perl6/doc/issues/2091/comments","events_url":"https://api.github.com/repos/perl6/doc/issues/2091/events","html_url":"https://github.com/perl6/doc/issues/2091","id":329049171,"node_id":"MDU6SXNzdWUzMjkwNDkxNzE=","number":2091,"title":"output style in code examples","user":{"login":"coke","id":50257,"node_id":"MDQ6VXNlcjUwMjU3","avatar_url":"https://avatars3.githubusercontent.com/u/50257?v=4","gravatar_id":"","url":"https://api.github.com/users/coke","html_url":"https://github.com/coke","followers_url":"https://api.github.com/users/coke/followers","following_url":"https://api.github.com/users/coke/following{/other_user}","gists_url":"https://api.github.com/users/coke/gists{/gist_id}","starred_url":"https://api.github.com/users/coke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coke/subscriptions","organizations_url":"https://api.github.com/users/coke/orgs","repos_url":"https://api.github.com/users/coke/repos","events_url":"https://api.github.com/users/coke/events{/privacy}","received_events_url":"https://api.github.com/users/coke/received_events","type":"User","site_admin":false},"labels":[{"id":676800676,"node_id":"MDU6TGFiZWw2NzY4MDA2NzY=","url":"https://api.github.com/repos/perl6/doc/labels/update","name":"update","color":"5DE0FA","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-06-04T13:11:01Z","updated_at":"2018-06-04T17:27:51Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"\r\ndoc/Language/5to6-nutshell.pod6 has sections like this:\r\n\r\n```\r\n=begin code :preamble<no strict;> :ok-test<dd>\r\n# Perl 6\r\n    dd $foo, $bar, @baz;\r\n# Output\r\n    Int $foo = 42\r\n    Int $bar = 44\r\n    Array @baz = [16, 32, 64, \"Hike!\"]\r\n=end code\r\n```\r\nThis puts all the code and output together as a single perl6 code block (which may or may not compile)\r\n\r\nOther doc sections either have a separately formatted output block (which is then exempt from testing), or show the output in a comment in the code block, e.g.:\r\n\r\n```\r\nsay @flat.elems;            # OUTPUT: «6␤»\r\n```\r\n\r\nWe should have a uniform style for showing code output (maybe even having a CSS style and showing it as a separate block in the rendered HTML)\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/perl6/doc/issues/comments/394434363","html_url":"https://github.com/perl6/doc/issues/2091#issuecomment-394434363","issue_url":"https://api.github.com/repos/perl6/doc/issues/2091","id":394434363,"node_id":"MDEyOklzc3VlQ29tbWVudDM5NDQzNDM2Mw==","user":{"login":"coke","id":50257,"node_id":"MDQ6VXNlcjUwMjU3","avatar_url":"https://avatars3.githubusercontent.com/u/50257?v=4","gravatar_id":"","url":"https://api.github.com/users/coke","html_url":"https://github.com/coke","followers_url":"https://api.github.com/users/coke/followers","following_url":"https://api.github.com/users/coke/following{/other_user}","gists_url":"https://api.github.com/users/coke/gists{/gist_id}","starred_url":"https://api.github.com/users/coke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/coke/subscriptions","organizations_url":"https://api.github.com/users/coke/orgs","repos_url":"https://api.github.com/users/coke/repos","events_url":"https://api.github.com/users/coke/events{/privacy}","received_events_url":"https://api.github.com/users/coke/received_events","type":"User","site_admin":false},"created_at":"2018-06-04T17:27:51Z","updated_at":"2018-06-04T17:27:51Z","author_association":"CONTRIBUTOR","body":"That ticket says test soon- been a year, there’s no test"}}
{"actor":{"display_login":"coke"}}