public static cleanDocBlock(value as String) as String
Cleans an entire multi-line documentation block, preserving relative indentation inside fenced code blocks.
| Parameter | Description |
|---|---|
value | Raw or partially cleaned documentation block. |
Cleaned multi-line documentation text.
import klyn.code.klyn
assert KlynDocComment.cleanDocBlock(" * Hello world.") == "Hello world."