Method GetAttributeForScope
GetAttributeForScope(MarkdownStyleRole)
Returns a theme-derived Attribute for the given markdown style role, or null if this highlighter has no specific styling for that role.
Attribute? GetAttributeForScope(MarkdownStyleRole role)
Parameters
roleMarkdownStyleRoleThe markdown style role to resolve.
Returns
- Attribute?
An Attribute with colors from the active syntax theme, or null to fall back to the default MarkdownStyleRole-based text style.