mdoc
Transforms Scala code blocks into Scastie snippets
```scala mdoc:scastie println("Hello, Scastie!") ```
This will be slower to run than embedding a snippet, since it's not cached
```scala mdoc:scastie:seL6YZuTSu65HiC1rLNwmQ ```
The empty line in the block is relevant (md parser chokes otherwise)
```scala mdoc:scastie:MasseGuillaume/33D4P3ysQCq2em2MRiv5sQ ```
Transforms Scala code blocks into Scastie snippets
Usage
Inline code
```scala mdoc:scastie println("Hello, Scastie!") ```
Note
This will be slower to run than embedding a snippet, since it's not cached
Anonymous snippet
Note
The empty line in the block is relevant (md parser chokes otherwise)
User's snippet
```scala mdoc:scastie:MasseGuillaume/33D4P3ysQCq2em2MRiv5sQ ```
Note
The empty line in the block is relevant (md parser chokes otherwise)