annotate

open override val annotate: AnnotatedString.Builder.(content: String, child: ASTNode) -> Boolean?

Use the AnnotatedString.Builder to build the string to display. Return true to consume the child, false to allow default handling.

Parameters

content

contains the whole content, and requires the child ASTNode to extract relevant text.