//! Module for converting HTML markup to blocks with Pango Markup formatted content. //! //! The functions in this module turn the HTML input to a list of block elements (see //! [`HtmlBlock`]) rather then an output string. This can be useful if the blocks are rendered //! separately, for example if you have some text followed by a code block. The former may be //! rendered using a different widget than the latter. //! //! The main function of this module is [`markup_html`]. //! It yields HTML blocks for the following tags: //! * `

`, `

`, `

`, `

`, `

`, `
` => [`HtmlBlock::Heading`] //! * `
` => [`HtmlBlock::Code`]
//! * `