diff options
author | Filip Zybała <fzybala@virtuslab.com> | 2020-04-14 14:29:35 +0200 |
---|---|---|
committer | Paweł Marks <Kordyjan@users.noreply.github.com> | 2020-05-20 14:53:12 +0200 |
commit | 5b6e8564808c3ab2ebe5b94c2a7e59971bfc4003 (patch) | |
tree | e43353cc990132146fb4c3c9539d1948d59762b1 /plugins/gfm/src | |
parent | ec9f4b3386ef979196e00334172051ece9a95acf (diff) | |
download | dokka-5b6e8564808c3ab2ebe5b94c2a7e59971bfc4003.tar.gz dokka-5b6e8564808c3ab2ebe5b94c2a7e59971bfc4003.tar.bz2 dokka-5b6e8564808c3ab2ebe5b94c2a7e59971bfc4003.zip |
Added anchors for symbols and headers on page
Diffstat (limited to 'plugins/gfm/src')
-rw-r--r-- | plugins/gfm/src/main/kotlin/GfmPlugin.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/gfm/src/main/kotlin/GfmPlugin.kt b/plugins/gfm/src/main/kotlin/GfmPlugin.kt index fead66f1..cc79291c 100644 --- a/plugins/gfm/src/main/kotlin/GfmPlugin.kt +++ b/plugins/gfm/src/main/kotlin/GfmPlugin.kt @@ -50,7 +50,7 @@ open class CommonmarkRenderer( override val preprocessors = context.plugin<GfmPlugin>().query { gfmPreprocessors } - override fun StringBuilder.buildHeader(level: Int, content: StringBuilder.() -> Unit) { + override fun StringBuilder.buildHeader(level: Int, node: ContentHeader, content: StringBuilder.() -> Unit) { buildParagraph() append("#".repeat(level) + " ") content() |