Skip to main content

inline_code

Function inline_code 

Source
pub fn inline_code(text: &str) -> String
Expand description

Formats text as inline code, or as escaped plain text when it contains a backtick.

Why not inline code throughout: a backtick closes the span early, and backslash escapes have no effect inside it.