kotlin-playground
kotlin-playground copied to clipboard
Self-contained component to embed in websites for running Kotlin code
I think I've found a bug: when using the `from` and `to` parameters with the character `>` is present in the code the indents are screwed up. See attached HTML...
Given this page: ```html fun main() { println("hello, world!") } ``` If you load that page directly in a Web browser (`file:` scheme), the Playground shows the green "Run" button...
Is it possible to embed the iframe from kotlin playground and pass the font size as the parameter in the URL? It would be nice to be able to embed...
Font is too big. Please add font size change ability to setting. P.S if you don't plan to do it, just write. Please don't give such stupid answer like https://github.com/JetBrains/kotlin-playground/issues/45
As jquery is deprecated in kotlin/JS, its use should be an opt-in decision.
As kotlin pretends to be multiplatform language I suggest to allow imports of multiplatform libraries, such as ktor, which is fully multiplatform. Btw, kotlinx.coroutines.* are already supported by playground
Just checking play with edge browser, found some errors when trying to run examples 2 & 3 on this page https://play.kotlinlang.org/byExample/05_stdlib/05_existential I get these errors on MS EDGE : ...
Steps to reproduce: 1. Click [here](https://pl.kotl.in/O1fAzikKE), 2. click browser’s back button and 3. observe that it does not take you back to this issue. Browser: Firefox 105.0.3 on Linux.
It reuses logic with JS canvas, just apply compiled wasm to canvas element.