diff --git a/src/lib.rs b/src/lib.rs index 5f1775c..cfdbe07 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -29,18 +29,6 @@ pub fn parse_content(c: &str) -> Vec{ }).collect() } -pub fn parse_content_owned(c: String) -> Vec{ - process_content(&itemize_content(&c)).into_iter().map(|i| { - match i { - Content::Markdown(s) => { - Content::MarkdownParsed(markdown::parse(&s).collect()) - //this is super lazy but it works.... - } - _ => {i} - } - }).collect() -} - fn markdownify_child(item: &Item) -> String { let mut result = "".to_owned(); match markdown_content(&item) {