{"action":"created","issue":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1088","labels_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1088/labels{/name}","comments_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1088/comments","events_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1088/events","html_url":"https://github.com/asciidoctor/asciidoctor/issues/1088","id":42683113,"number":1088,"title":"Support the include directive on GitHub","user":{"login":"mojavelinux","id":79351,"avatar_url":"https://avatars.githubusercontent.com/u/79351?v=3","gravatar_id":"","url":"https://api.github.com/users/mojavelinux","html_url":"https://github.com/mojavelinux","followers_url":"https://api.github.com/users/mojavelinux/followers","following_url":"https://api.github.com/users/mojavelinux/following{/other_user}","gists_url":"https://api.github.com/users/mojavelinux/gists{/gist_id}","starred_url":"https://api.github.com/users/mojavelinux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mojavelinux/subscriptions","organizations_url":"https://api.github.com/users/mojavelinux/orgs","repos_url":"https://api.github.com/users/mojavelinux/repos","events_url":"https://api.github.com/users/mojavelinux/events{/privacy}","received_events_url":"https://api.github.com/users/mojavelinux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/labels/github","name":"github","color":"4183C4"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-09-13T00:49:02Z","updated_at":"2015-03-22T19:55:25Z","closed_at":null,"body":"We'd like to find a way to support includes on GitHub in a way that works within the boundaries of the security requirements. This issue is intended to plan for and track the progress on this upstream request."},"comment":{"url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/comments/84687878","html_url":"https://github.com/asciidoctor/asciidoctor/issues/1088#issuecomment-84687878","issue_url":"https://api.github.com/repos/asciidoctor/asciidoctor/issues/1088","id":84687878,"user":{"login":"ciarand","id":2149341,"avatar_url":"https://avatars.githubusercontent.com/u/2149341?v=3","gravatar_id":"","url":"https://api.github.com/users/ciarand","html_url":"https://github.com/ciarand","followers_url":"https://api.github.com/users/ciarand/followers","following_url":"https://api.github.com/users/ciarand/following{/other_user}","gists_url":"https://api.github.com/users/ciarand/gists{/gist_id}","starred_url":"https://api.github.com/users/ciarand/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ciarand/subscriptions","organizations_url":"https://api.github.com/users/ciarand/orgs","repos_url":"https://api.github.com/users/ciarand/repos","events_url":"https://api.github.com/users/ciarand/events{/privacy}","received_events_url":"https://api.github.com/users/ciarand/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T19:55:25Z","updated_at":"2015-03-22T19:55:25Z","body":"Is there any way to preprocess include directives?\r\n\r\ni.e. a project with these files:\r\n\r\n```asciidoc\r\n// foo.adoc\r\nfoo\r\n```\r\n\r\n```asciidoc\r\n// bar.adoc\r\nbar\r\n```\r\n\r\n```asciidoc\r\n// README.pre.adoc\r\ninclude::foo.adoc\r\ninclude::bar.adoc\r\n```\r\n\r\nAnd running something like this:\r\n\r\n```bash\r\n$ asciidoctor <some magic flag> README.pre.adoc -o README.adoc\r\n```\r\n\r\nWill generate a file named `README.adoc` that looks like this:\r\n\r\n```bash\r\nfoo\r\nbar\r\n```\r\n\r\nIs this a thing that exists?"}}