What is Klipse?

The klipse plugin is a javascript tag that transforms static code snippets of an html page to live and interactive snippets:

  1. Live: The code is executed in your browser
  2. Interactive: You can modify the code and it is evaluated as you type

The code evaluation is done in the browser: no server is involved at all!

Read more about the klipse plugin.

In this short article, we show live code snippets in different languages.

Modify the code in the snippets and enjoy the interactivity!



[1, 2, 3].map((x) => x + 1)


[1, 2, 3].map{|x| x + 1}


$name = "klipse";
echo "hello". " " . $name;


(map inc [1 2 3])