pub struct MarkdownConfig {
pub conceal_mode: ConcealMode,
pub visual_thematic_breaks: bool,
pub interactive_tasks: bool,
pub visual_tables: bool,
pub table_alignment: bool,
pub table_navigation: bool,
}Expand description
Configuration settings for Markdown editing, highlighting, and WYSIWYG rendering.
Fields§
§conceal_mode: ConcealModeHow syntax delimiters (#, **, *, ~~, `) are displayed on inactive lines.
visual_thematic_breaks: boolWhether horizontal rules (---, ***, ___) are rendered as visual divider quads.
interactive_tasks: boolWhether clicking on task checkboxes (- [ ] / - [x]) toggles their state.
visual_tables: boolWhether GFM table pipes, header rows, and delimiter rows get structural styling.
table_alignment: boolWhether GFM table columns are padded to equal display widths (and excluded from soft-wrapping) so pipes form straight columns.
Whether Tab / Shift+Tab move between table cells and Enter continues table rows.
Trait Implementations§
Source§impl Clone for MarkdownConfig
impl Clone for MarkdownConfig
Source§fn clone(&self) -> MarkdownConfig
fn clone(&self) -> MarkdownConfig
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 MarkdownConfig
Source§impl Debug for MarkdownConfig
impl Debug for MarkdownConfig
Source§impl Default for MarkdownConfig
impl Default for MarkdownConfig
impl Eq for MarkdownConfig
Source§impl PartialEq for MarkdownConfig
impl PartialEq for MarkdownConfig
Source§fn eq(&self, other: &MarkdownConfig) -> bool
fn eq(&self, other: &MarkdownConfig) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for MarkdownConfig
Auto Trait Implementations§
impl Freeze for MarkdownConfig
impl RefUnwindSafe for MarkdownConfig
impl Send for MarkdownConfig
impl Sync for MarkdownConfig
impl Unpin for MarkdownConfig
impl UnsafeUnpin for MarkdownConfig
impl UnwindSafe for MarkdownConfig
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