Kotlin / dataframe

Structured data processing in Kotlin
https://kotlin.github.io/dataframe/overview.html
Apache License 2.0
772 stars 48 forks source link

KDoc rendering looks odd on 2024 Nightly IntelliJ #585

Closed Jolanrensen closed 2 months ago

Jolanrensen commented 4 months ago

image

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: image

Jolanrensen commented 4 months ago

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: image

Jolanrensen commented 4 months ago

Depends on https://github.com/JetBrains/markdown/pull/150

Jolanrensen commented 3 months ago

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

Jolanrensen commented 3 months ago

Another nice example of how broken it is. image

Jolanrensen commented 3 months ago

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) image

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