Trait URLRewriter
pub trait URLRewriter: RefUnwindSafe + Send + Sync
Trait for link and image URL rewrite extensions.
Required Methods
fn to_html(&self, url: &str) -> StringConverts the given URL from Markdown to its representation when output as HTML.
Implementors
impl<F> URLRewriter for F where F: for<'a> Fn(&'a str) -> String + RefUnwindSafe + Send + Sync,