Skip to main content

Module util

Module util 

Source

Re-exportsยง

use crate::EventIter; ๐Ÿ”’
use anyhow::Context; ๐Ÿ”’
use anyhow::Error; ๐Ÿ”’
use anyhow::bail; ๐Ÿ”’
use anyhow::format_err; ๐Ÿ”’
use pulldown_cmark::CowStr; ๐Ÿ”’
use pulldown_cmark::Event; ๐Ÿ”’
use pulldown_cmark::TagEnd; ๐Ÿ”’

Functionsยง

header_text
Extracts the text from a header after Tag::Heading has been received.
parse_name_and_section
Splits the text foo(1) into โ€œfooโ€ and 1.
unwrap
Removes tags from the front and back of a string.