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)
s
semoro
04/16/2017, 9:29 AM
For this time, use triple-backticks, and, please fill feature request for