{"action":"created","issue":{"url":"https://api.github.com/repos/toolness/p5.js-widget/issues/54","repository_url":"https://api.github.com/repos/toolness/p5.js-widget","labels_url":"https://api.github.com/repos/toolness/p5.js-widget/issues/54/labels{/name}","comments_url":"https://api.github.com/repos/toolness/p5.js-widget/issues/54/comments","events_url":"https://api.github.com/repos/toolness/p5.js-widget/issues/54/events","html_url":"https://github.com/toolness/p5.js-widget/issues/54","id":149646141,"number":54,"title":"Hidden code feature?","user":{"login":"shiffman","id":191758,"avatar_url":"https://avatars.githubusercontent.com/u/191758?v=3","gravatar_id":"","url":"https://api.github.com/users/shiffman","html_url":"https://github.com/shiffman","followers_url":"https://api.github.com/users/shiffman/followers","following_url":"https://api.github.com/users/shiffman/following{/other_user}","gists_url":"https://api.github.com/users/shiffman/gists{/gist_id}","starred_url":"https://api.github.com/users/shiffman/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiffman/subscriptions","organizations_url":"https://api.github.com/users/shiffman/orgs","repos_url":"https://api.github.com/users/shiffman/repos","events_url":"https://api.github.com/users/shiffman/events{/privacy}","received_events_url":"https://api.github.com/users/shiffman/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-20T03:24:18Z","updated_at":"2016-04-22T17:20:56Z","closed_at":null,"body":"This is a feature request / idea that I am curious about. I am working on a new version of [Nature of Code](http://natureofcode.com/book) and am revamping the interactive examples with p5.js.  I think that p5.js-widget could work really well for some/all of the code examples.  One thing I do sometimes for long examples is show only part of the code in the book (esp if it's just a change from a previous example).  I wonder if it would work to have a widget that has invisible code behind the scenes for a full example and show / makes editable a shorter snippet.\r\n\r\nAm I making sense?\r\n\r\nI am still probably a couple weeks from getting to this part of the project, but thought I would file this while the idea is fresh in my head."},"comment":{"url":"https://api.github.com/repos/toolness/p5.js-widget/issues/comments/213518431","html_url":"https://github.com/toolness/p5.js-widget/issues/54#issuecomment-213518431","issue_url":"https://api.github.com/repos/toolness/p5.js-widget/issues/54","id":213518431,"user":{"login":"toolness","id":124687,"avatar_url":"https://avatars.githubusercontent.com/u/124687?v=3","gravatar_id":"","url":"https://api.github.com/users/toolness","html_url":"https://github.com/toolness","followers_url":"https://api.github.com/users/toolness/followers","following_url":"https://api.github.com/users/toolness/following{/other_user}","gists_url":"https://api.github.com/users/toolness/gists{/gist_id}","starred_url":"https://api.github.com/users/toolness/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/toolness/subscriptions","organizations_url":"https://api.github.com/users/toolness/orgs","repos_url":"https://api.github.com/users/toolness/repos","events_url":"https://api.github.com/users/toolness/events{/privacy}","received_events_url":"https://api.github.com/users/toolness/received_events","type":"User","site_admin":false},"created_at":"2016-04-22T17:20:55Z","updated_at":"2016-04-22T17:20:55Z","body":"Cool, that is totally doable!\r\n\r\nIs there documentation or a specification for the comment mark-up format? One option is for Magic Book and p5.js-widget to implement \"conformance\" to this standard separately, or, since it looks like Magic Book is also in JS, we could have a separate npm module that does the parsing logic, and both tools can share that.\r\n"}}