use indoc::indoc; use rustdoc_to_markdown::convert_rustdoc_to_markdown; 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}"); }