Packages

p

mdoc

modifiers

package modifiers

Type Members

  1. class ScastieModifier 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)

Ungrouped