pub struct MarkdownOptions {
pub include_slide_numbers: bool,
pub slide_separator: String,
pub include_notes: bool,
pub use_gfm_tables: bool,
pub include_images: bool,
pub include_frontmatter: bool,
}Expand description
Export options for Markdown generation
Fields§
§include_slide_numbers: boolInclude slide numbers as headers
slide_separator: StringFormat for slide separators (— or horizontal rule)
include_notes: boolInclude speaker notes
use_gfm_tables: boolUse GFM tables for table export
include_images: boolInclude image references
include_frontmatter: boolAdd YAML frontmatter with presentation metadata
Implementations§
Source§impl MarkdownOptions
impl MarkdownOptions
Sourcepub fn with_slide_numbers(self, include: bool) -> Self
pub fn with_slide_numbers(self, include: bool) -> Self
Set slide number inclusion
Sourcepub fn with_separator(self, sep: &str) -> Self
pub fn with_separator(self, sep: &str) -> Self
Set slide separator
Sourcepub fn with_notes(self, include: bool) -> Self
pub fn with_notes(self, include: bool) -> Self
Set notes inclusion
Sourcepub fn with_gfm_tables(self, use_gfm: bool) -> Self
pub fn with_gfm_tables(self, use_gfm: bool) -> Self
Set GFM table usage
Sourcepub fn with_images(self, include: bool) -> Self
pub fn with_images(self, include: bool) -> Self
Set image inclusion
Sourcepub fn with_frontmatter(self, include: bool) -> Self
pub fn with_frontmatter(self, include: bool) -> Self
Set frontmatter inclusion
Trait Implementations§
Source§impl Clone for MarkdownOptions
impl Clone for MarkdownOptions
Source§fn clone(&self) -> MarkdownOptions
fn clone(&self) -> MarkdownOptions
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 moreSource§impl Debug for MarkdownOptions
impl Debug for MarkdownOptions
Auto Trait Implementations§
impl Freeze for MarkdownOptions
impl RefUnwindSafe for MarkdownOptions
impl Send for MarkdownOptions
impl Sync for MarkdownOptions
impl Unpin for MarkdownOptions
impl UnsafeUnpin for MarkdownOptions
impl UnwindSafe for MarkdownOptions
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