Skip to main content

sniff_language

Function sniff_language 

Source
pub fn sniff_language(content: &str) -> Option<&'static str>
Expand description

The language a fenced block without an info string most likely holds, from the start of its content, as the JavaScript sniffLanguage.