[−][src]Trait markdown_composer::transforms::Inline
An extension trait for inline transformations.
Required methods
fn to_inline(&self) -> String
Transforms the given text into an inline code block.
Example
use markdown_composer::transforms::Inline; let text = "Inline text"; let inline = text.to_inline(); assert_eq!(inline, "`Inline text`");