labelSpans property

List<InlineSpan> labelSpans
final

The label, already parsed and styled with style.

The parse has happened by the time a builder runs, in the MarkdownScope.linkLabel scope, so [**bold** link](url) arrives as the spans that render it. An autolink's label is one plain run, deliberately: re-parsing a URL would let ItalicMd eat the underscores out of https://example.com/a_b_c.

Implementation

final List<InlineSpan> labelSpans;