Skip to content

Commit bc890ed

Browse files
committed
add doc describing limited capabilities
1 parent 81f61af commit bc890ed

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

crates/ide/src/markdown_remove.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
use pulldown_cmark::{Event, Parser};
44

55
/// Removes all markdown, keeping the text and code blocks
6+
///
7+
/// Currently limited in styling, i.e. no ascii tables or lists
68
pub fn remove_markdown(markdown: &str) -> String {
79
let mut out = String::new();
810
let parser = Parser::new(markdown);

0 commit comments

Comments
 (0)