Skip to main content

fence_info

Function fence_info 

Source
pub fn fence_info(language: &str) -> &str
Expand description

Returns language for use as a code fence’s info string, or an empty info string when language contains a backtick.

Unknown extensions are passed through verbatim, and a backtick there would close the fence it is meant to open.