sway_lsp::utils::markdown

Function format_docs

Source
pub fn format_docs(src: &str) -> String
Expand description

Transforms markdown and takes care of any code blocks to allow for syntax highlighting.