KDoc rendering looks odd on 2024 Nightly IntelliJ
Looks like KDocs need to be checked such that no spaces exist outside inline code blocks.
In comparison, this is what it currently looks like:
I suspect IntelliJ now leans more into their Markdown Renderer.
This renderer trims code spans:
https://github.com/JetBrains/markdown/blob/aa54cceca5c28b694dcb7c940e910612c82fa76e/src/commonMain/kotlin/org/intellij/markdown/html/GeneratingProviders.kt#L73
Making things like this look weird:
Depends on https://github.com/JetBrains/markdown/pull/150
https://youtrack.jetbrains.com/issue/IDEA-348571/Markdown-KDoc-rendering-errors This will fix at least some space-trimming errors, hopefully enough to make the KDocs look okay
Another nice example of how broken it is.
https://youtrack.jetbrains.com/issue/KTIJ-29221/Markdown-KDoc-space-rendering-errors is done! The KDocs look a lot better now :) (in the latest 2024.1 nightly)
I did create a new YT issue to track the other rendering errors: https://youtrack.jetbrains.com/issue/KTIJ-29221/Markdown-KDoc-space-rendering-errors