Skip to main content

of_tag

Function of_tag 

Source
pub fn of_tag(tag: &str) -> Option<Known>
Expand description

The language a fence tag names. Tags are the raw first word of the fence info string — rust {.numberLines}, rust,foo, Rust — so they are trimmed at the first space or comma and case-folded before lookup.