Extra blank line at the end of Markdown code blocks
ZianeA opened this issue · 0 comments
ZianeA commented
Running the Android sample, we can see that rendered markdown code blocks have an extra blank line at the end:
Calling trim()
on the parsed string seems to fix the problem:
is AstIndentedCodeBlock -> {
CodeBlock(text = astNodeType.literal.trim())
}
is AstFencedCodeBlock -> {
CodeBlock(text = astNodeType.literal.trim())
}