diff options
author | Robin van Dijk <[email protected]> | 2020-10-06 15:34:09 +0100 |
---|---|---|
committer | Robin van Dijk <[email protected]> | 2020-10-06 15:34:26 +0100 |
commit | bc890ed5b0898445c998ec62fb89188afefb61ec (patch) | |
tree | 13dd4ededb482f21adbdd111094dcaee062a93ed | |
parent | 81f61afa9ff551c5e29f6fa1227e1c3c5456fef7 (diff) |
add doc describing limited capabilities
-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); |