#[derive(Debug, Clone, PartialEq, Eq)]
pub struct HtmlRenderOptions {
pub code_block_language_class_prefix: Option<String>,
#[cfg(feature = "gfm")]
pub enable_gfm: bool,
#[cfg(feature = "gfm")]
pub gfm_disallowed_html_tags: Vec<String>,
pub strict: bool,
}
impl Default for HtmlRenderOptions {
fn default() -> Self {
Self {
code_block_language_class_prefix: Some("language-".to_string()),
#[cfg(feature = "gfm")]
enable_gfm: false, #[cfg(feature = "gfm")]
gfm_disallowed_html_tags: Vec::new(), strict: true, }
}
}