Allows to embed interactive Kotlin playground to any post via [kotlin]
shortcode.
- Download
kotlin-playground-wp-plugin.zip
from latest release from releases page. - Go to WordPress
Admin Panel -> Plugins -> Add New
, chooseUpload Plugin
, select file from your computer and pressInstall now
.
Use [kotlin]code...[/kotlin]
shortcode as usual. Example:
[kotlin]
fun main(args: Array<String>) {
print("Hello, World!")
}
[/kotlin]
Creates read-only playground without ability to edit and run code. Example [kotlin runnable="false"]code...[/kotlin]
.