I’m generating HTML documentation from auto-generated java files and I’m not seeing markdown syntax being recognized. Here’s an example of the generated file:
Copy code
/**
* This is a new interface for testing dokka.
*
* This should be a new line
*
* And [this](<https://www.google.com/>) should be a hyperlink.
*/
@Keep
public abstract class NewInterface {
/** [This](<https://www.google.com/>) should also be a hyperlink. */
public abstract void foo();
And attached is the generated HTML. Neither the new lines or hyperlinks are being recognized. Am I using the right syntax? Any ideas for solutions (or workarounds)? I’m using dokka version 2.0.0
solved 1
Kenna Zimmerman
07/25/2025, 3:54 PM
and the function:
e
ephemient
07/25/2025, 4:00 PM
Javadoc shouldn't be Markdown
ephemient
07/25/2025, 4:01 PM
there's a new https://openjdk.org/jeps/467 but the comment style is different and I'm not sure if Dokka has support
k
Kenna Zimmerman
07/25/2025, 4:05 PM
I could’ve sworn I tried anchor tags before markdown lol, but it’s working now. thank you!