Skip to main content

parse_card_header

Function parse_card_header 

Source
pub fn parse_card_header(text: &str) -> Option<CardHeader>
Expand description

Parse the card header at the start of text, accepting both the bracket and the YAML-frontmatter form. Returns None when text carries no recognizable card header.