add doc describing limited capabilities
This commit is contained in:
parent
81f61afa9f
commit
bc890ed5b0
1 changed files with 2 additions and 0 deletions
|
|
@ -3,6 +3,8 @@
|
|||
use pulldown_cmark::{Event, Parser};
|
||||
|
||||
/// Removes all markdown, keeping the text and code blocks
|
||||
///
|
||||
/// Currently limited in styling, i.e. no ascii tables or lists
|
||||
pub fn remove_markdown(markdown: &str) -> String {
|
||||
let mut out = String::new();
|
||||
let parser = Parser::new(markdown);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue