aboutsummaryrefslogtreecommitdiff
path: root/src/Formats
diff options
context:
space:
mode:
Diffstat (limited to 'src/Formats')
-rw-r--r--src/Formats/MarkdownFormatService.kt6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Formats/MarkdownFormatService.kt b/src/Formats/MarkdownFormatService.kt
index 07a6d1f7..a835a673 100644
--- a/src/Formats/MarkdownFormatService.kt
+++ b/src/Formats/MarkdownFormatService.kt
@@ -70,9 +70,11 @@ public open class MarkdownFormatService(locationService: LocationService,
}
override public fun appendBlockCode(to: StringBuilder, line: String) {
- appendLine(to, "```")
+ appendLine(to)
+ to.appendln("```")
to.appendln(line)
- appendLine(to, "```")
+ to.appendln("```")
+ appendLine(to)
}
override fun appendTable(to: StringBuilder, body: () -> Unit) {