diff options
-rw-r--r-- | crates/ide/src/markdown_remove.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/crates/ide/src/markdown_remove.rs b/crates/ide/src/markdown_remove.rs index 405d08d8e..ea12cf0fc 100644 --- a/crates/ide/src/markdown_remove.rs +++ b/crates/ide/src/markdown_remove.rs | |||
@@ -3,6 +3,8 @@ | |||
3 | use pulldown_cmark::{Event, Parser}; | 3 | use pulldown_cmark::{Event, Parser}; |
4 | 4 | ||
5 | /// Removes all markdown, keeping the text and code blocks | 5 | /// Removes all markdown, keeping the text and code blocks |
6 | /// | ||
7 | /// Currently limited in styling, i.e. no ascii tables or lists | ||
6 | pub fn remove_markdown(markdown: &str) -> String { | 8 | pub fn remove_markdown(markdown: &str) -> String { |
7 | let mut out = String::new(); | 9 | let mut out = String::new(); |
8 | let parser = Parser::new(markdown); | 10 | let parser = Parser::new(markdown); |