FluentMarkupFormatting extension

Adds span-tree rendering of inline markup to FluentBundle.

on

Methods

formatMessageAsSpans(String id, {String? attribute, Map<String, Object?> args = const {}, List<FluentError>? errors}) List<FluentSpan>

Available on FluentBundle, provided by the FluentMarkupFormatting extension

Format the message identified by id and parse any inline HTML5- shaped markup in the result into a FluentSpan tree.