Skip to main content

styled_to_markdown

Function styled_to_markdown 

Source
pub fn styled_to_markdown(doc: &StyledText, style: DocStyle) -> String
Expand description

Write a styled document as markdown.

Lossy where markdown has no spelling: color, highlight, underline, alignment and relative sizes that are not one of the six heading steps all vanish. What survives round-trips.

Day API ↩ Guides· daybrite.dev