Join Slack
Communities
Powered by
Is it possible to create own tags on kdoc? for exa...
# dokka
l
Lisandro Di Meo
11/03/2022, 2:21 PM
Is it possible to create own tags on kdoc? for example:
Copy code
@side-note[]
i
Ignat Beresnev
11/03/2022, 9:34 PM
Hi! Yeah, you can do it by writing a custom Dokka plugin Here's the class you'll need to implement:
https://github.com/Kotlin/dokka/blob/master/plugins/base/src/main/kotlin/transformers/pages/tags/CustomTagContentProvider.kt
And there's info on how to build, debug, test Dokka, info on plugin development and Dokka's architecture that will help:
https://kotlin.github.io/dokka/1.7.20/developer_guide/introduction/
🙌 1
l
Lisandro Di Meo
11/04/2022, 2:48 AM
Thanks! I'll take a look into that 😄
71
Views
Open in Slack
Previous
Next