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

Run doc example codes in playground locally #42

Closed
ianxek opened this issue Jan 7, 2022 · 1 comment
Closed

Run doc example codes in playground locally #42

ianxek opened this issue Jan 7, 2022 · 1 comment

Comments

@ianxek
Copy link

ianxek commented Jan 7, 2022

Run the code inline in the docs, like they do for Go+ (a run button is displayed when the mouse pointer hovers over the code snippets) :

https://tutorial.goplus.org/hello-world

Copy and paste in a new tab opened with the playground would be a start.

@jondgoodwin
Copy link
Owner

Ever since I saw Go do this, I always knew I wanted to as well.

When the language is further along, this is a worthy document improvement goal. I will tackle it then.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants