Input
buid.gradle
korro {
...
testSuffix("_strings", "Strings")
testSuffix("_accessors", "Accessors")
}
doc.md
tests.kt
fun test_strings() {
// SampleStart
code1
// SampleEnd
}
fun test_accessors() {
// SampleStart
code2
// SampleEnd
}
Output
doc.md
<!---test-->
<tabs>
<tab title="Strings">
code1
</tab>
<tab title="Accessors">
code2
</tab>
</tabs>
<!---END-->