Hello, I m struggling with the code indentation in a module documentation:
It looks OK in the markdown preview, but in the html docs generated by dokka, it is broken - there is some extra indentation if the code block has multiple lines.
Also, I am not able to use relative links: [link](http://example.com/sth/) works fine, but [link](/some/relative/path) just renders "/some/relative/path" as plain text .. or how can I link to another module or a specific package?
v
Vadim Mishenev
11/21/2021, 10:25 PM
1. Unfortunately, it happens in code blocks that is inside a list. I have created the issue https://github.com/Kotlin/dokka/issues/2232 on GitHub. It will be fixed in the nearest Dokka versions.
2. Dokka intentionally does not support relative links.
linking to relative html paths creates a lot of issues when it comes to dokka model (pages can be relocated by plugins, you are limiting yourself to only one forma)