pub struct SerializeOptions {
pub li_span_wrap: bool,
pub use_code_highlight: bool,
pub blockquote_for_admonition: bool,
pub sibling_nested_lists: bool,
pub definition_list_to_paragraph: bool,
}Expand description
Options for platform-specific HTML serialization.
Fields§
§li_span_wrap: boolWrap <li> content in <span style="display:inline;">.
use_code_highlight: boolUse syntax-highlighted HTML in code blocks when available.
blockquote_for_admonition: boolUse <blockquote> instead of <div> for admonitions.
sibling_nested_lists: boolEmit nested list blocks as siblings of <li> for editor compatibility.
definition_list_to_paragraph: boolConvert definition lists to paragraph fallback.
Trait Implementations§
Source§impl Clone for SerializeOptions
impl Clone for SerializeOptions
Source§fn clone(&self) -> SerializeOptions
fn clone(&self) -> SerializeOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SerializeOptions
impl Debug for SerializeOptions
Source§impl Default for SerializeOptions
impl Default for SerializeOptions
Source§fn default() -> SerializeOptions
fn default() -> SerializeOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for SerializeOptions
impl RefUnwindSafe for SerializeOptions
impl Send for SerializeOptions
impl Sync for SerializeOptions
impl Unpin for SerializeOptions
impl UnsafeUnpin for SerializeOptions
impl UnwindSafe for SerializeOptions
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