How to highlight dart code in documentation?

Answered

hello, i have this comment

 

I want to highlight it in the document, is there any way to do it?

0
2 comments

Hi,

It is possible and works e.g. in Kotlin docs. Please investigate how the Kotlin documentation provider works:

https://github.com/JetBrains/intellij-community/blob/master/plugins/kotlin/idea/src/org/jetbrains/kotlin/idea/KotlinDocumentationProvider.kt

0

Thank you for your answer, this functionality has been implemented

2

Please sign in to leave a comment.