dokka icon indicating copy to clipboard operation
dokka copied to clipboard

[K2] Markdown links to local declarations stopped working

Open atyrin opened this issue 10 months ago • 1 comments

class Ref

/**
* Link [Ref](Ref)
*/
fun func(){}

In K1 mode the link is rendered. In K2 -- not.

Installation

  • Dokka version: 2.0.0

atyrin avatar Feb 26 '25 17:02 atyrin

JIC: Such links also don't work in IJ K2. And I believe they should not.

Image

atyrin avatar Feb 27 '25 13:02 atyrin

This is an expected behaviour. Links to declarations should be in the form of [Ref] or [custom name][Ref]. The syntax with round brackets is only used to resolve external links like [Ref](https://github.com).

whyoleg avatar Aug 05 '25 11:08 whyoleg