Property Attribute
Attribute
Gets the explicit Attribute for this segment, or null if the attribute should be resolved from StyleRole.
public Attribute? Attribute { get; }
Property Value
Remarks
When set (e.g., by a syntax highlighter), this attribute is used directly for rendering, bypassing the normal MarkdownStyleRole-based resolution.