pub struct Options {
pub heading_style: HeadingStyle,
pub hr_style: HrStyle,
pub br_style: BrStyle,
pub link_style: LinkStyle,
pub link_reference_style: LinkReferenceStyle,
pub code_block_style: CodeBlockStyle,
pub code_block_fence: CodeBlockFence,
pub bullet_list_marker: BulletListMarker,
pub ul_bullet_spacing: u8,
pub ol_number_spacing: u8,
pub preformatted_code: bool,
pub translation_mode: TranslationMode,
}Expand description
The HTML to Markdown converting options.
Fields§
§heading_style: HeadingStyle§hr_style: HrStyle§br_style: BrStyle§link_style: LinkStyle§link_reference_style: LinkReferenceStyle§code_block_style: CodeBlockStyle§code_block_fence: CodeBlockFence§bullet_list_marker: BulletListMarker§ul_bullet_spacing: u8The number of spaces between the bullet character and the content.
ol_number_spacing: u8The number of spaces between the period character and the content.
preformatted_code: boolIf true, the whitespace in inline <code> tags will be preserved.
translation_mode: TranslationModeTrait Implementations§
Auto Trait Implementations§
impl Freeze for Options
impl RefUnwindSafe for Options
impl Send for Options
impl Sync for Options
impl Unpin for Options
impl UnsafeUnpin for Options
impl UnwindSafe for Options
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