From 64c8f35c00fcf483da76451b276e750533fbe9a4 Mon Sep 17 00:00:00 2001 From: Simon Ogorodnik Date: Fri, 10 Feb 2017 16:34:26 +0300 Subject: Tweaking of sample formatting --- core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/src') diff --git a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt index 007e9353..9a43f9c4 100644 --- a/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt +++ b/core/src/main/kotlin/Formats/KotlinWebsiteFormatService.kt @@ -164,7 +164,7 @@ class KotlinWebsiteRunnableSamplesOutputBuilder(to: StringBuilder, div(to, "sample", true) { appendBlockCode(language) { imports() - wrap("\nfun main(args: Array) {", "}") { + wrap("\n\nfun main(args: Array) {", "}") { wrap("\n//sampleStart\n", "\n//sampleEnd\n", body) } } -- cgit