Edoardo Luppi
09/05/2023, 5:39 PMcode
blocks by any chance?solonovamax
09/06/2023, 6:22 PM<dependencies>
<dependency>
<groupId>com.hcl.mainframe.proto</groupId>
^----------------------------
<artifactId>zproto</artifactId>
<version>1.0.0-SNAPSHOT</version>
^--------------
</dependency>
</dependencies>
Edoardo Luppi
09/06/2023, 7:01 PMsolonovamax
09/06/2023, 7:07 PMEdoardo Luppi
09/06/2023, 7:09 PMsolonovamax
09/06/2023, 7:20 PM.symbol:not(.token), code {
overflow: scroll;
white-space: nowrap;
}
solonovamax
09/06/2023, 7:20 PMsolonovamax
09/06/2023, 7:20 PMEdoardo Luppi
09/06/2023, 7:24 PMsolonovamax
09/06/2023, 7:55 PMsolonovamax
09/06/2023, 7:56 PMwhite-space
to pre
might worksolonovamax
09/06/2023, 7:56 PMEdoardo Luppi
09/06/2023, 7:59 PMsolonovamax
09/06/2023, 8:07 PMsolonovamax
09/16/2023, 3:17 AMdependencies {
dokkaPlugin("ca.solo-studios:dokka-style-tweaks-plugin:0.1.1")
}
to your build.gradle.kts
file.
It can then be configured using the type-safe plugin configuration:
tasks {
withType<AbstractDokkaTask>().configureEach {
pluginConfiguration<DokkaStyleTweaksPlugin, DokkaStyleTweaksConfiguration> {
minimalScrollbar = true
darkPurpleHighlight = true
improvedBlockquoteBorder = true
lighterBlockquoteText = true
sectionTabFontWeight = "500"
sectionTabTransition = true
improvedSectionTabBorder = true
disableCodeWrapping = true
}
}
}
or via json:
tasks {
withType<AbstractDokkaTask>().configureEach {
val dokkaTweaksConfiguration = """
{
"minimalScrollbar": true,
"darkPurpleHighlight": true,
"improvedBlockquoteBorder": true,
"lighterBlockquoteText": true,
"sectionTabFontWeight": "500"
"sectionTabTransition": true,
"improvedSectionTabBorder": true,
"disableCodeWrapping": true
}
""".trimIndent()
pluginConfiguration.set(
mapOf(
"ca.solostudios.dokkastyles.plugin.DokkaStyleTweaksPlugin" to dokkaTweaksConfiguration,
)
)
}
}
all the tweaks are documented via kdoc, but the source is here: https://github.com/solo-studios/dokka-plugins/blob/master/dokka-style-tweaks-plugin/src/main/kotlin/ca/solostudios/dokkastyles/plugin/DokkaStyleTweaksConfiguration.kt
for your issue with the whitespace, simply set disableCodeWrapping
to true, and it will fix it.