package org.jetbrains.dokka public open class JekyllFormatService(locationService: LocationService, signatureGenerator: LanguageService) : MarkdownFormatService(locationService, signatureGenerator) { override fun link(from: DocumentationNode, to: DocumentationNode): FormatLink = link(from, to, "html") override fun appendNodes(location: Location, to: StringBuilder, nodes: Iterable) { to.appendln("---") appendFrontMatter(nodes, to) to.appendln("---") to.appendln("") super.appendNodes(location, to, nodes) } protected open fun appendFrontMatter(nodes: Iterable, to: StringBuilder) { to.appendln("title: ${nodes.first().name}") } }