[−][src]Function broken_md_links::generate_slugs
pub fn generate_slugs(path: &Path) -> Result<Vec<String>, String>
Get all headers of a Markdown file as slugs This function is used to check if the header specified in a link exists in the target file Returns an error message if the operation failed for any reason