pub struct Opts {
pub strip_emphasis: bool,
pub keep_table_rule: bool,
pub keep_asset_urls: bool,
pub keep_metadata: bool,
pub minify_code_blocks: bool,
pub minify_languages: Vec<String>,
pub preserve_code_fences: bool,
}Fields§
§strip_emphasis: bool§keep_table_rule: bool§keep_asset_urls: bool§keep_metadata: bool§minify_code_blocks: boolMaster toggle for code-block minification. When false, every code
block is emitted verbatim regardless of tag or @minify.
minify_languages: Vec<String>Lowercased language tags eligible for the configured minifiers.
preserve_code_fences: boolKeep the surrounding ```lang fence around minified output. When false, only the minified body is emitted (no fence).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Opts
impl RefUnwindSafe for Opts
impl Send for Opts
impl Sync for Opts
impl Unpin for Opts
impl UnsafeUnpin for Opts
impl UnwindSafe for Opts
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