1 2 3 4 5 6 7 8 9 10 11 12 13
use pulldown_cmark::Event; use crate::link::Link; use std::fmt::Debug; pub mod empty_playground_inserter; pub trait LinkReplacer: Debug + dyn_clone::DynClone { fn apply(&self, link: &mut Link) -> anyhow::Result<Event<'_>>; fn tag(&self) -> String; }