Skip to main content

is_prose_language_hint

Function is_prose_language_hint 

Source
pub fn is_prose_language_hint(hint: Option<&str>) -> bool
Expand description

Whether a language hint refers to prose (markdown/text) where code syntax highlighting hurts diff readability.

Dimension key: hint_str is the lowercase file extension (e.g. md).