ScastieModifier

class ScastieModifier(theme: String, debugClassSuffix: Option[String]) extends StringModifier

Transforms Scala code blocks into Scastie snippets

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)

trait StringModifier
class Object
trait Matchable
class Any

Value members

Constructors

def this()

Concrete methods

def inlineScastieSnippet(code: String): String
override def process(info: String, code: Input, reporter: Reporter): String
Definition Classes
StringModifier
def scastieSnippet(snippetId: String): String

Inherited methods

override def toString(): String
Definition Classes
StringModifier -> Any
Inherited from
StringModifier

Concrete fields

override val name: String