Skip to main content

replace_description_links

Function replace_description_links 

Source
fn replace_description_links(
    text: &str,
    name_to_page: &NameToPage,
    current_page: &Path,
    local: Option<&LocalMembers>,
) -> String
Expand description

Replace inline links in a standalone notice or dev description while preserving complete, top-level fenced code blocks. Other NatSpec fields use replace_inline_links directly because their rendering context (notably table cells) cannot contain block-level Markdown.