textColorByType

open fun textColorByType(type: IElementType): Color

Returns the color used for the text of a specific type of this Markdown component.

Type as represented by the markdown library. MarkdownElementTypes.ATX_1, ...