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
This commit is contained in:
Marshall Bowers 2024-06-04 18:39:41 -04:00 committed by GitHub
parent 27beb9e697
commit 3fd118f8e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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}");
}