How to Embed runnable code in a post?

How can I include runnable code samples into my post?

Nvm, found it:

Start with three backticks followed by run-kotlin and end with three backticks

1 Like

Also you can hide some parts by using //sampleStart and //sampleEnd.

2 Likes