mirror of https://github.com/zulip/zulip.git
help: Add example playground URL templates.
Fixes #29067. Co-authored-by: Rohan Sharma <rs545837@gmail.com>
This commit is contained in:
parent
7e99c90190
commit
53ad0e4218
|
@ -147,6 +147,19 @@ specified code playground.
|
|||
generate the URL. You can refer to parts of the documentation on URL
|
||||
templates from [adding a custom linkifier](/help/add-a-custom-linkifier).
|
||||
|
||||
### Examples of playground URL templates
|
||||
|
||||
Here is a list of playground URL templates you can use for some popular
|
||||
languages:
|
||||
|
||||
* For Java: `https://pythontutor.com/java.html#code={code}` or
|
||||
`https://cscircles.cemc.uwaterloo.ca/java_visualize/#code={code}`
|
||||
* For JavaScript: `https://pythontutor.com/javascript.html#code={code}`
|
||||
* For Python: `https://pythontutor.com/python-compiler.html#code={code}`
|
||||
* For C: `https://pythontutor.com/c.html#code={code}`
|
||||
* For C++: `https://pythontutor.com/cpp.html#code={code}`
|
||||
* For Rust: `https://play.rust-lang.org/?code={code}`
|
||||
|
||||
### Technical details
|
||||
|
||||
* You can configure multiple playgrounds for a given language; if you do that,
|
||||
|
|
Loading…
Reference in New Issue