WP Manifestindependent plugin directory
manifest / content / kotlin-playground-wp-plugin

Kotlin Playground Plugin

WordPress plugin which allows to embed interactive Kotlin playground to any post via [kotlin] shortcode

by kotlin · github.com/kotlin/kotlin-playground-wp-plugin · website

37stars
342release downloads
≈20active sites
7forks

Install

The author publishes release zips, so WP-CLI can install straight from GitHub:

wp plugin install https://github.com/kotlin/kotlin-playground-wp-plugin/releases/download/v0.0.4/kotlin-playground-wp-plugin.zip

From the readme

Kotlin Playground Wordpress Plugin Allows embedding interactive Kotlin playground to any post via [kotlin] shortcode. Installation 1. Download latest release. 2. Go to WordPress Admin Panel - Plugins - Add New, choose Upload Plugin, select file from your computer and press Install now. Usage Use [kotlin]code...[/kotlin] shortcode as usual. Example: Options runnable="true|false" (true by default) Creates read-only playground without ability to edit and run code. Example [kotlin runnable="false"]code...[/kotlin]. folded-button="true|false" (true by default) Hide code snippet with value false outside of markers //sampleStart and //sampleEnd. platform="java|js|junit|canvas" (java by default) Creates playground with different target platforms min-version="1.2" Minimum target Kotlin compiler version auto-indent="true|false" (false by default) Whether to use the context-sensitive indentation. indent="2|4" (4 by default) How many spaces a block should be indented. theme="idea|darcula|default" Editor IntelliJ IDEA themes. version="1.0.7 (latest stable version by default) Target Kotlin compiler version:

Read the full README on GitHub →

Releases

TagPublishedAssetDownloads
v0.0.4Jul 26, 2018kotlin-playground-wp-plugin.zip240
v0.0.3Apr 27, 2018kotlin-playground-wp-plugin.zip18
v0.0.2Apr 16, 2018kotlin-playground-wp-plugin.zip63
0.0.1Dec 28, 2017kotlin-playground-wp-plugin.zip21

Active-site estimate ≈20 comes from the median of recent superseded releases. Method.