Skip to content

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

Notifications You must be signed in to change notification settings

belovrv/kotlin-playground-wp-plugin

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Kotlin Playground Wordpress Plugin

Allows to embed interactive Kotlin playground to any post via [kotlin] shortcode.

Preview

Installation

  1. Download kotlin-playground-wp-plugin.zip from latest release from releases page.
  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:

[kotlin]
fun main(args: Array<String>) {
  print("Hello, World!")
}
[/kotlin]

Options

runnable="true|false" (true by default)

Creates read-only playground without ability to edit and run code. Example [kotlin runnable="false"]code...[/kotlin].

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%