pub struct MarkdownConfig {
pub include_metadata: bool,
pub include_toc: bool,
pub heading_style: HeadingStyle,
pub reference_style: ReferenceStyle,
pub max_heading_level: u8,
pub include_orcid_links: bool,
pub include_identifier_links: bool,
pub include_figure_captions: bool,
pub include_local_figures: bool,
pub use_yaml_frontmatter: bool,
}Expand description
Configuration options for Markdown conversion
Fields§
§include_metadata: boolInclude metadata section at the top
include_toc: boolInclude table of contents
heading_style: HeadingStyleHeading style preference
reference_style: ReferenceStyleReference formatting style
max_heading_level: u8Maximum heading level (1-6)
include_orcid_links: boolInclude author ORCID links
include_identifier_links: boolInclude DOI and PMID links
include_figure_captions: boolInclude figure and table captions
include_local_figures: boolInclude local figure file paths in markdown images
use_yaml_frontmatter: boolUse YAML frontmatter for metadata instead of bold markdown format
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 · 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 MarkdownConfig
impl Debug for MarkdownConfig
Source§impl Default for MarkdownConfig
impl Default for MarkdownConfig
Source§fn default() -> MarkdownConfig
fn default() -> MarkdownConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for MarkdownConfig
impl RefUnwindSafe for MarkdownConfig
impl Send for MarkdownConfig
impl Sync for MarkdownConfig
impl Unpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
Read this value from the supplied reader. Same as
ReadEndian::read_from_little_endian().