Skip to main content

italicize_dev

Function italicize_dev 

Source
fn italicize_dev(content: &str) -> String
Expand description

Italicize a @dev block by wrapping it in <i>...</i> HTML tags. Surrounding blank lines around the tags ensure MDX/CommonMark parses the inner content as block-level markdown (lists, code fences, multiple paragraphs all work).