mod djot;
mod markdown;
pub trait FormatRenderer: Send + Sync {
fn emphasis(&self, content: &str) -> String;
fn strong(&self, content: &str, symbol: char) -> String;
fn strikethrough(&self, content: &str) -> String;
fn highlight(&self, content: &str) -> String;
fn inserted(&self, content: &str) -> String;
fn subscript(&self, content: &str, custom_symbol: &str) -> String;
fn superscript(&self, content: &str, custom_symbol: &str) -> String;
fn span_with_attributes(&self, content: &str, classes: &[&str], id: Option<&str>) -> String;
fn div_with_attributes(&self, content: &str, classes: &[&str]) -> String;
fn is_djot(&self) -> bool;
}