pub fn parse_info_string(info: &str) -> (String, Option<String>, bool, bool)Expand description
Parses an info string from a fenced code block.
Returns (language, validator, skip, hidden) tuple.
§Examples
"sql validator=sqlite"→("sql", Some("sqlite"), false, false)"rust"→("rust", None, false, false)"sql validator=osquery skip"→("sql", Some("osquery"), true, false)"sql validator=sqlite hidden"→("sql", Some("sqlite"), false, true)