Skip to main content

rewrite

Function rewrite 

Source
pub fn rewrite(body: &str, table: &LinkTable, extension: &str) -> String
Expand description

Rewrite intra-doc references in a markdown body.

extension is the file extension to append to the slug — ".md" for the Markdown renderer, ".html" for the HTML renderer.