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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

馃殌 Try code on the docs pages 馃殌 #107

Open
jbampton opened this issue Aug 28, 2022 · 4 comments
Open

馃殌 Try code on the docs pages 馃殌 #107

jbampton opened this issue Aug 28, 2022 · 4 comments
Labels
documentation Improvements or additions to documentation enhancement New feature or request hacktoberfest help wanted Extra attention is needed

Comments

@jbampton
Copy link
Member

I really like how Lucee has done their docs with the ability to run the code on the same page

https://docs.lucee.org/reference/functions/abs.html

Not sure what you were thinking for run.onelang.org ??

Crystal gives you a page to play in too

https://play.crystal-lang.org/#/cr

@jbampton jbampton added documentation Improvements or additions to documentation enhancement New feature or request help wanted Extra attention is needed labels Aug 28, 2022
@BaseMax
Copy link
Member

BaseMax commented Aug 28, 2022

Good idea, we can rename run to play. but I think run is a good word too. What is your comment?

@BaseMax
Copy link
Member

BaseMax commented Aug 28, 2022

Good idea john. I think if we create the next generation of onelang website. we can design this feature too

@jbampton
Copy link
Member Author

They have this run box on some pages:

Screen Shot 2022-08-28 at 6 47 00 pm

https://docs.lucee.org/reference/functions/abs.html

@jbampton
Copy link
Member Author

Golang do it well too with the Go Tour

https://go.dev/tour/basics/1

@jbampton jbampton changed the title Try code on the docs pages 馃殌 Try code on the docs pages 馃殌 Jul 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation enhancement New feature or request hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants