This is a raw snippet:
hello world
123
This is a text snippet
This is a JavaScript snippet:
const add = (a, b) => a + b
const minus = (a, b) => a - b
console.log(add(100,200)) // 300
console.log(minus(100,200)) // -100
This is a Python snippet:
def say_hello():
print("hello world!")
say_hello() // "hello world!"
Side note comment: applied a bug fix similar to this commit to ensure code snippet does not collapse unexpectly upon clicking on it. This issue is tracked here.