Function rewrite_html_custom_with_url_and_chunk

Source
pub async fn rewrite_html_custom_with_url_and_chunk(
    html: &str,
    custom: &Option<HashSet<String>>,
    commonmark: bool,
    url: &Option<Url>,
    chunk_size: usize,
) -> String
Expand description

Custom variant of rewrite function.

You can also override standard tag handlers this way

ยงArguments

html is source HTML as String custom is custom tag hadler producers for tags you want, can be empty commonmark is for adjusting markdown output to commonmark url is used to provide absolute url handling chunk_size the chunk size to use.