diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/gfm/src/main/kotlin/GfmPlugin.kt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/gfm/src/main/kotlin/GfmPlugin.kt b/plugins/gfm/src/main/kotlin/GfmPlugin.kt index 0376b32e..780e4cb2 100644 --- a/plugins/gfm/src/main/kotlin/GfmPlugin.kt +++ b/plugins/gfm/src/main/kotlin/GfmPlugin.kt @@ -205,6 +205,7 @@ open class CommonmarkRenderer( val builder = StringBuilder() it.children.forEach { builder.append("| ") + builder.append("<a name=\"${it.dci.dri.first()}\"></a>") builder.append( buildString { it.build(this, pageContext) }.replace( Regex("#+ "), @@ -366,4 +367,4 @@ class MarkdownLocationProviderFactory(val context: DokkaContext) : LocationProvi class MarkdownLocationProvider( pageGraphRoot: RootPageNode, dokkaContext: DokkaContext -) : DokkaLocationProvider(pageGraphRoot, dokkaContext, ".md")
\ No newline at end of file +) : DokkaLocationProvider(pageGraphRoot, dokkaContext, ".md") |