We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 81f61af commit bc890edCopy full SHA for bc890ed
crates/ide/src/markdown_remove.rs
@@ -3,6 +3,8 @@
3
use pulldown_cmark::{Event, Parser};
4
5
/// Removes all markdown, keeping the text and code blocks
6
+///
7
+/// Currently limited in styling, i.e. no ascii tables or lists
8
pub fn remove_markdown(markdown: &str) -> String {
9
let mut out = String::new();
10
let parser = Parser::new(markdown);
0 commit comments