-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Codesandboxes for documentation examples #278
Comments
That’s a great idea. I like this very much. |
@eandy5000 can we talk about using ObservableHQ for our demos instead of CodeSandbox? I think we could move the entire README to one ObservableHQ document. I created one to show what I mean https://beta.observablehq.com/@taras/microstates-counter |
@taras I'm not familiar with ObservableHQ, but I will take a look at your example and see what I can do. |
Take a look at it. We can pair on it to see what it would look like if we had our readme in there. |
@taras I took a look at Observable HQ and put together a test of what the Types and Type Composition section might look like. It works pretty well for mixing markdown with code, but it was a little clunky when I checked the page at different screen sizes. Let me know what you think or if you have any suggestions. |
Can we try to combine the runnable code and the code blocks to see what that would look like? |
https://blog.github.com/2018-12-10-introducing-content-attachments-api/
https://runkit.com/alexlafroscia/5c17e805317a9a001575879b~~ Edit: Never mind, that all is only for Issues and Pull Requests. Would be neat if you could do an embed in a README too! |
Yeah, that would be sweet. |
It would be nice to have live/editable code of the examples in the documentation. I put together a codesandbox of the 'Types and Type Composition' section. If it looks good I'm willing to work on this. Let me know if you want any changes. The link is below.
Types and Type Composition
The text was updated successfully, but these errors were encountered: