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?

2 comments
Comment actions Permalink

Thank you for your answer, this functionality has been implemented

2
Comment actions Permalink

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

Please sign in to leave a comment.