append method

void append(
  1. String text
)

Appends text, applying the current color resolver if present.

Supports **bold** and [link](https://example.com) syntax.

Implementation

void append(String text) {
  final colorResolver = _colorResolverStack.isEmpty
      ? null
      : _colorResolverStack.last;
  _segments.add(OudsAnnotatedTextSegment(text, colorResolver));
}