{"action":"opened","issue":{"url":"https://api.github.com/repos/newnakashima/nksmtemplate/issues/16","repository_url":"https://api.github.com/repos/newnakashima/nksmtemplate","labels_url":"https://api.github.com/repos/newnakashima/nksmtemplate/issues/16/labels{/name}","comments_url":"https://api.github.com/repos/newnakashima/nksmtemplate/issues/16/comments","events_url":"https://api.github.com/repos/newnakashima/nksmtemplate/issues/16/events","html_url":"https://github.com/newnakashima/nksmtemplate/issues/16","id":371497570,"node_id":"MDU6SXNzdWUzNzE0OTc1NzA=","number":16,"title":"ifの文法変える","user":{"login":"newnakashima","id":12591755,"node_id":"MDQ6VXNlcjEyNTkxNzU1","avatar_url":"https://avatars2.githubusercontent.com/u/12591755?v=4","gravatar_id":"","url":"https://api.github.com/users/newnakashima","html_url":"https://github.com/newnakashima","followers_url":"https://api.github.com/users/newnakashima/followers","following_url":"https://api.github.com/users/newnakashima/following{/other_user}","gists_url":"https://api.github.com/users/newnakashima/gists{/gist_id}","starred_url":"https://api.github.com/users/newnakashima/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/newnakashima/subscriptions","organizations_url":"https://api.github.com/users/newnakashima/orgs","repos_url":"https://api.github.com/users/newnakashima/repos","events_url":"https://api.github.com/users/newnakashima/events{/privacy}","received_events_url":"https://api.github.com/users/newnakashima/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-10-18T12:05:21Z","updated_at":"2018-10-18T12:05:21Z","closed_at":null,"author_association":"OWNER","body":"`{{if hoge}}`、`{{fi}}`とかあまりに普通だしダサいのでかっこいい文法考える。\r\n\r\n例えば、\r\n\r\n```\r\n出力A\r\nif hoge:\r\n    \\out\r\nfi\r\n出力C\r\n```\r\n\r\nがテンプレートで、\r\n\r\n```\r\n{\r\n    'hoge': true,\r\n    'out': '出力B'\r\n}\r\n```\r\n\r\nのとき、\r\n\r\n```\r\n出力A\r\n出力B\r\n出力C\r\n```\r\n\r\nになる、みたいな感じで。キーワードのエスケープは考えないといけない。\r\n\r\nif とか fi とかのキーワードを含む行は、単なる出力と混ぜないようにする。"}}
{"actor":{"display_login":"newnakashima"}}