tbot::markup

Function code_block

Source
pub fn code_block<I, T, L>(code: I) -> CodeBlock<I, L>
where for<'a> &'a I: IntoIterator<Item = &'a T>, T: Deref<Target = str>, L: Deref<Target = str>,
Expand description

Formats a block of code.