Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

html_to_markdown: Remove unused examples (#12658)

Marshall Bowers3fd118f8e106
diff --git a/crates/html_to_markdown/examples/test.rs b/crates/html_to_markdown/examples/test.rs
deleted file mode 100644
index 3937a7b3b3d..00000000000
--- 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! {"
- <html>
- <body>
- <h1>Hello World</h1>
- <p>
- Here is some content.
- </p>
- <h2>Some items</h2>
- <ul>
- <li>One</li>
- <li>Two</li>
- <li>Three</li>
- </ul>
- </body>
- </html>
- "};
- // 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}");
-}