Rafael Costa

08/02/2022, 1:49 PM
Hey guys, is there a way I can have IDE element links inside ``` (literal) block?

Ignat Beresnev

08/03/2022, 11:48 AM
Hi! What do you mean by IDE element links? Can you give an example? If you want to link to other declarations (i.e functions/classes) inside code blocks, I'm not sure it's possible - I believe code blocks are parsed by the compiler as special text and are displayed without much alterations. At least Dokka doesn't seem to do anything special to strip links

Rafael Costa

08/08/2022, 9:14 AM
yes exactly, linking to other declarations. It’s just that I have a special case where I’d like to have a tree structure but I cannot have it displayed nicely both in the IDE and after parsed. So I tried using code blocks to have the format stick, but then I lose the links which is a must in this case. I suspected there was no way, thanks anyway 🙂