Skip to main content

Module markdown_blocks

Module markdown_blocks 

Source
Expand description

The block structure of the Markdown the site writes by hand: news articles and the Syntax Guide’s prose. Lines group the way CommonMark groups them. Consecutive lines of text are one paragraph, so a line break in the source is a space on the page and a blank line ends the paragraph; a list item and a quote continue across their wrapped lines; a line of --- is a rule. Each block’s text is marked up inline by ui::inline_markup, the one renderer every page’s prose goes through.

Enums§

Block
One block of a Markdown document, in document order.

Functions§

blocks
The blocks markdown is made of.