pub struct MdEncoder;Expand description
Markdown encoder entrypoint.
Implementations§
Source§impl MdEncoder
impl MdEncoder
Sourcepub fn encode(
document: &Document<Validated>,
template: &Template,
) -> MdResult<String>
pub fn encode( document: &Document<Validated>, template: &Template, ) -> MdResult<String>
Encodes a validated document into markdown with frontmatter.
This method is mapping-aware and uses the provided template to map paragraph style IDs back into markdown semantics.
Auto Trait Implementations§
impl Freeze for MdEncoder
impl RefUnwindSafe for MdEncoder
impl Send for MdEncoder
impl Sync for MdEncoder
impl Unpin for MdEncoder
impl UnwindSafe for MdEncoder
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