Closed davidtorosyan closed 2 years ago
Would it make sense to fix this by replacing <pre>
and </pre>
with triple-backticks?
This is fixed in 1.5.4 (released just now).
Replacing
withis a good suggestion, because it turns out <pre> and
behave slightly differently (andis handled better by Dokka when it isn't terminated for example). We should track that in a separate issue; the fix above fixes the kdoc formatter to gracefully handle unterminated pre blocks (and
blocks), as well as fixes an unrelated issue which didn't handleandon the same line.
The
<pre>
tag causes some weirdness with flowing.Before:
After:
When using default options on v1.5.1.