ScastieModifier
mdoc.modifiers.ScastieModifier
class ScastieModifier(theme: String, debugClassSuffix: Option[String]) extends StringModifier
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===
```
scala mdoc:scastie:seL6YZuTSu65HiC1rLNwmQ
```
====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)
Attributes
- Graph
-
- Supertypes
-
trait StringModifierclass Objecttrait Matchableclass Any
Members list
In this article