-
Notifications
You must be signed in to change notification settings - Fork 425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[K2] KDoc references that goes after markdown blocks don't have links #3385
Comments
One more case. Reference works in K1 and doesn't in K2 interface Call
/**
* @param text some description with reference.
* But with a few lines and indent [Call]
*/
fun protocol(text: String) {} |
There is a problem in a parser of compiler (PSI). see https://github.com/JetBrains/kotlin/blob/master/compiler/psi/src/org/jetbrains/kotlin/kdoc/lexer/KDoc.flex There is a workaround on Dokka's side: to resolve KDoc links like in K1. |
The second case with The first case with code blocks might be invalid markdown, we need to check the spec. Markdown file parsing should be fixed (module/package descriptions) |
In K1, references are resolved:

In K2 are not:
If I put a reference before the code block in the samples, it will be resolved. Also, if it the same as reference after, like:
The both will be resolved.
Installation
Parent: #3328
The text was updated successfully, but these errors were encountered: