Module so::tui::markdown[][src]

Expand description

Parse markdown text.

Extended from cursive::utils::markup::markdown to add code styles TODO: Bring in the full power of termimad (e.g. md tables) in a View; implementation of those features (.e.g automatic wrapping within each table cell) might be easier in this setting anyway.

Structs

Iterator that parse a markdown text and outputs styled spans.

Functions

Parses the given string as markdown text. Note: Assumes preprocessing has taken place

Preview markdown of the given length Currently removes any color (i.e. code highlighting) to avoid the jarring issue of a fragmented highlight style on focused items.

Type Definitions