Skip to content
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

Make live code examples in docs #41

Open
cdonohue opened this issue Sep 9, 2019 · 1 comment
Open

Make live code examples in docs #41

cdonohue opened this issue Sep 9, 2019 · 1 comment
Assignees
Labels
benefit-docs Documentation for benefit (gatsby site)

Comments

@cdonohue
Copy link
Owner

cdonohue commented Sep 9, 2019

The CodeBlock component in the benefit-docs codebase has support for passing live as a boolean prop. We should incorporate these into the utility examples as a way to let the user change code directly on the page.

@cdonohue cdonohue added the benefit-docs Documentation for benefit (gatsby site) label Sep 9, 2019
@cdonohue
Copy link
Owner Author

cdonohue commented Sep 9, 2019

In addition, it might also be a good idea to link codesandbox.io examples as well.

@cdonohue cdonohue self-assigned this Sep 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
benefit-docs Documentation for benefit (gatsby site)
Projects
None yet
Development

No branches or pull requests

1 participant