formatText abstract method

TextSpan formatText(
  1. MarkdownStyleSheet styleSheet,
  2. String code
)

Returns formatted text to use to display the given contents of a pre element.

The styleSheet is the value of MarkdownBuilder.styleSheet.

Implementation

TextSpan formatText(MarkdownStyleSheet styleSheet, String code);