From 3fd118f8e10697f1b0f7a66dac8682dce62fdaa1 Mon Sep 17 00:00:00 2001 From: Marshall Bowers Date: Tue, 4 Jun 2024 18:39:41 -0400 Subject: [PATCH] html_to_markdown: Remove unused examples (#12658) This PR removes the unused `examples` from the `html_to_markdown` crate. I was just using these to dogfood the parsing initially, but now that it's wired up in the Assistant, the examples are no longer useful. Release Notes: - N/A --- crates/html_to_markdown/examples/test.rs | 29 ------------------------ 1 file changed, 29 deletions(-) delete mode 100644 crates/html_to_markdown/examples/test.rs diff --git a/crates/html_to_markdown/examples/test.rs b/crates/html_to_markdown/examples/test.rs deleted file mode 100644 index 3937a7b3b3..0000000000 --- a/crates/html_to_markdown/examples/test.rs +++ /dev/null @@ -1,29 +0,0 @@ -use html_to_markdown::convert_rustdoc_to_markdown; -use indoc::indoc; - -pub fn main() { - let html = indoc! {" - - -

Hello World

-

- Here is some content. -

-

Some items

- - - - "}; - // To test this out with some real input, try this: - // - // ``` - // let html = include_str!("/path/to/zed/target/doc/gpui/index.html"); - // ``` - let markdown = convert_rustdoc_to_markdown(html.as_bytes()).unwrap(); - - println!("{markdown}"); -}