Hello! As <github is now officially supporting mermaid>, I assume there will be more and more of mer...
g
Hello! As github is now officially supporting mermaid, I assume there will be more and more of mermaid graphs in the documentation. Is there a plan to support it in Dokka? Could be really great for us.
6
i
I think this could be a dokka plugin for sure, like mathjax. Shouldn't be too difficult to implement Actually, just recently we've added an extension point that would make it easier to do that sort of thing If someone's willing to contribute - I'll help where I can, so just let me know
K 2
h
Would be very cool, but I would also hope to see a similar feature request in IntelliJ Markdown plugin to edit and preview the diagram
i
Unfortunately, we at dokka team don't deal much with IDE-related features atm, it'll most likely have to be done by someone from the Intellij team btw, now that there's reader mode for kdocs in the latest Intellij versions, maybe this could be done not only for .md files, but for inline documentation as well
r
So as to not lose this request, I created https://github.com/Kotlin/dokka/issues/2384.
🙏 2
g
I tried something very naive here but I'm lacking some knowledge to make it work, not sure I'll be able to push it forward.
I've released something here, tell me if you've more needs/ideas ! https://kotlinlang.slack.com/archives/C0F4UNJET/p1647343341453659
🎉 1