{"action":"created","issue":{"url":"https://api.github.com/repos/rich-iannone/DiagrammeR/issues/31","labels_url":"https://api.github.com/repos/rich-iannone/DiagrammeR/issues/31/labels{/name}","comments_url":"https://api.github.com/repos/rich-iannone/DiagrammeR/issues/31/comments","events_url":"https://api.github.com/repos/rich-iannone/DiagrammeR/issues/31/events","html_url":"https://github.com/rich-iannone/DiagrammeR/issues/31","id":54154197,"number":31,"title":"Add example for use of external .mmd file as input to DiagrammeR function","user":{"login":"rich-iannone","id":5612024,"avatar_url":"https://avatars.githubusercontent.com/u/5612024?v=3","gravatar_id":"","url":"https://api.github.com/users/rich-iannone","html_url":"https://github.com/rich-iannone","followers_url":"https://api.github.com/users/rich-iannone/followers","following_url":"https://api.github.com/users/rich-iannone/following{/other_user}","gists_url":"https://api.github.com/users/rich-iannone/gists{/gist_id}","starred_url":"https://api.github.com/users/rich-iannone/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rich-iannone/subscriptions","organizations_url":"https://api.github.com/users/rich-iannone/orgs","repos_url":"https://api.github.com/users/rich-iannone/repos","events_url":"https://api.github.com/users/rich-iannone/events{/privacy}","received_events_url":"https://api.github.com/users/rich-iannone/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/rich-iannone/DiagrammeR/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-13T06:04:40Z","updated_at":"2015-01-13T11:02:07Z","closed_at":null,"body":"Thanks @jjallaire for contributing the functionality for providing an external file (with the suggested .mmd extension) for input to the `DiagrammeR` function. It seems to work well enough now with the error notification. Question is whether to expose this functionality now in an example, or, wait to develop this further (and also wait for the syntax highlighting that an upcoming daily build of **RStudio** will offer)?"},"comment":{"url":"https://api.github.com/repos/rich-iannone/DiagrammeR/issues/comments/69728281","html_url":"https://github.com/rich-iannone/DiagrammeR/issues/31#issuecomment-69728281","issue_url":"https://api.github.com/repos/rich-iannone/DiagrammeR/issues/31","id":69728281,"user":{"login":"jjallaire","id":104391,"avatar_url":"https://avatars.githubusercontent.com/u/104391?v=3","gravatar_id":"","url":"https://api.github.com/users/jjallaire","html_url":"https://github.com/jjallaire","followers_url":"https://api.github.com/users/jjallaire/followers","following_url":"https://api.github.com/users/jjallaire/following{/other_user}","gists_url":"https://api.github.com/users/jjallaire/gists{/gist_id}","starred_url":"https://api.github.com/users/jjallaire/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jjallaire/subscriptions","organizations_url":"https://api.github.com/users/jjallaire/orgs","repos_url":"https://api.github.com/users/jjallaire/repos","events_url":"https://api.github.com/users/jjallaire/events{/privacy}","received_events_url":"https://api.github.com/users/jjallaire/received_events","type":"User","site_admin":false},"created_at":"2015-01-13T11:02:07Z","updated_at":"2015-01-13T11:02:07Z","body":"I'd say definitely yes expose it as an example as even without syntax highlighting I think a lot of users will appreciate being able to edit their diagram in external files (for both editing convenience and more easily re-using diagrams)."}}