diff options
-rw-r--r-- | src/Formats/MarkdownFormatService.kt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Formats/MarkdownFormatService.kt b/src/Formats/MarkdownFormatService.kt index 032667dd..27ebb8ce 100644 --- a/src/Formats/MarkdownFormatService.kt +++ b/src/Formats/MarkdownFormatService.kt @@ -7,9 +7,10 @@ public class MarkdownFormatService(val locationService: LocationService, with (to) { appendln(node.path.map { "[${it.name}](${locationService.relativeLocation(node, it, extension)})" }.joinToString(" / ")) appendln() - append("# ") + appendln("# ${node.name}") + appendln("```") appendln(signatureGenerator.render(node)) - appendln() + appendln("```") appendln(node.doc.summary) appendln() for (section in node.doc.sections) { @@ -18,7 +19,6 @@ public class MarkdownFormatService(val locationService: LocationService, appendln(section.text) } - appendln("### Members") appendln("| Name | Signature | Summary |") appendln("|------|-----------|---------|") |