diff options
Diffstat (limited to 'plugins/gfm/src')
-rw-r--r-- | plugins/gfm/src/main/kotlin/GfmPlugin.kt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/plugins/gfm/src/main/kotlin/GfmPlugin.kt b/plugins/gfm/src/main/kotlin/GfmPlugin.kt index b10a45b8..fb83d3b0 100644 --- a/plugins/gfm/src/main/kotlin/GfmPlugin.kt +++ b/plugins/gfm/src/main/kotlin/GfmPlugin.kt @@ -111,7 +111,11 @@ open class CommonmarkRenderer( append("\n\n") } - override fun StringBuilder.buildPlatformDependent(content: PlatformHintedContent, pageContext: ContentPage) { + override fun StringBuilder.buildPlatformDependent( + content: PlatformHintedContent, + pageContext: ContentPage, + sourceSetRestriction: Set<SourceSetData>? + ) { val distinct = content.sourceSets.map { it to StringBuilder().apply {buildContentNode(content.inner, pageContext, setOf(it)) }.toString() }.groupBy(Pair<SourceSetData, String>::second, Pair<SourceSetData, String>::first) |