Skip to main content

format_natspec

Function format_natspec 

Source
pub fn format_natspec(text: &str, inherited_doc: Option<&str>) -> String
Expand description

Format NatSpec documentation as markdown. Strips leading @ tags and formats them nicely. When inherited_doc is provided, it replaces @inheritdoc lines with the resolved content.