protected override void Write(FlowDocumentRenderer renderer, ParagraphBlock paragraphBlock) { renderer.Push(new Span(), paragraphBlock.Inline); }
protected override void Write(FlowDocumentRenderer renderer, HeadingBlock headingBlock) { renderer.Push(new Span { Foreground = new SolidColorBrush(Colors.Red) }, headingBlock.Inline); }
protected override void Write(FlowDocumentRenderer renderer, LiteralInline literalInline) { renderer.Push(new Run(literalInline.Content.ToString())); }