pub fn convert_html_to_doc_comment(html: &str) -> String {
    use regex::RegexBuilder;

    // Create doc comments
    let doc_comment_regex = RegexBuilder::new("^").multi_line(true).build().unwrap();

    let md = html2runes::markdown::convert_string(html);
    let mut doc = doc_comment_regex.replace_all(md.trim_end(), "/// ").into();
    doc += "\n";
    doc
}
/// Best-effort attempt to render HTML into a doc-comment which can
/// be placed in the generated code.
Best-effort attempt to render HTML into a doc-comment which can
be placed in the generated code.
Best - effort attempt to render HTML into a doc - comment which can be placed in the generated code .
pub fn convert_html_to_doc_comment(html: &str) -> String {
    use regex::RegexBuilder;
    // Create doc comments
    let doc_comment_regex = RegexBuilder::new("^").multi_line(true).build().unwrap();
    let md = html2runes::markdown::convert_string(html);
    let mut doc = doc_comment_regex.replace_all(md.trim_end(), "/// ").into();
    doc += "\n";
    doc
}
pub fn convert_html_to_doc_comment ( html : & str ) -> String { use regex :: RegexBuilder ; // Create doc comments let doc_comment_regex = RegexBuilder :: new ( " " ) . multi_line ( true ) . build ( ) . unwrap ( ) ; let md = html2runes :: markdown :: convert_string ( html ) ; let mut doc = doc_comment_regex . replace_all ( md . trim_end ( ) , " " ) . into ( ) ; doc += " \n " ; doc }
Best-effort attempt to render HTML into a doc-comment which can
be placed in the generated code.
Best - effort attempt to render HTML into a doc - comment which can be placed in the generated code .
html
&str