Bringing live REPL functionality to dev.to posts

ben profile image Ben Halpern ・1 min read

I have been working on adding Klipse live REPL functionality to posts. It's not quite done for everybody to use, but here is the first post with that functionality. 😊

Here is a JavaScript REPL, for example.

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

I am still ironing out the details, so the functionality only works from my account for now, but this should be rolled out soon for all. It's a nice tool for certain posts that could make use of the interactivity for demonstration and learning. The code required to execute this functionality will only be present on pages that make use of this feature.

Here is the same map function as above, but in Ruby:

    [1,2,3].map { |x| (x * 10) + 1 }

Big thanks to Yehonathan Sharvit, the primary maintainer of Klipse for proposing this integration.

Feedback is super welcome ✌️

Posted on Dec 20 '18 by:

ben profile

Ben Halpern


A Canadian software developer who thinks he’s funny. He/Him.


markdown guide

Super useful feature for the page
Keep up the good work!


is it disabled ? as it doesn't work anymore :(