pub struct MdastCommandOptions {
pub escape_raw_html_braces: bool,
}Expand description
Options controlling how MDAST command buffers are applied.
Fields§
§escape_raw_html_braces: boolEscape raw HTML text braces before re-parsing it through an MDX parser.
MDX needs this so literal { / } in HTML text are not interpreted as
expressions. Plain Markdown-to-HTML pipelines should leave raw HTML
opaque so the final HTML preserves those braces verbatim.
Trait Implementations§
Source§impl Clone for MdastCommandOptions
impl Clone for MdastCommandOptions
Source§fn clone(&self) -> MdastCommandOptions
fn clone(&self) -> MdastCommandOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MdastCommandOptions
Source§impl Debug for MdastCommandOptions
impl Debug for MdastCommandOptions
Auto Trait Implementations§
impl Freeze for MdastCommandOptions
impl RefUnwindSafe for MdastCommandOptions
impl Send for MdastCommandOptions
impl Sync for MdastCommandOptions
impl Unpin for MdastCommandOptions
impl UnsafeUnpin for MdastCommandOptions
impl UnwindSafe for MdastCommandOptions
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more