Trait Inline

Source
pub trait Inline {
    // Required method
    fn to_inline(&self) -> String;
}
Expand description

An extension trait for inline transformations.

Required Methods§

Source

fn to_inline(&self) -> String

Transforms the given text into an inline code block.

Implementors§

Source§

impl<T> Inline for T
where T: AsRef<str>,