Article Outline
Powered by Typescript Service and Scastie, GitPress supports Markdown extension for Scala and Typescript.
You could enable this feature using Markdown's code block syntax.
Check the source of this post to learn how to use them.
Scala
def sayHello(person: String): Unit = {
println("Hello, " + person)
}
sayHello("Ada")
Typescript
function sayHello(person: string) {
console.log("Hello, " + person);
}
sayHello("Ada");