Is there a way to include a code sample that defin...
# announcements
i
Is there a way to include a code sample that defines some new sealed classes in a kdoc? I’m aware of
@snippet
but that requires that the code be in a function, and I can’t declare sealed classes inside a function. I’ve also tried using the triple-backticks to embed the code directly, but for some reason that doesn’t seem to retain indenting (at least in the Intellij preview of the kdoc)