Skip to main content

markdown_html

Function markdown_html 

Source
pub fn markdown_html(markdown: &str) -> String
Expand description

CommonMark with tables and strikethrough, as HTML. A line break typed in a mail is meant, as in a chat or a GitHub comment: it is kept.

HTML written in the text (a note quoting a mail, a draft) shows as it was written, never read: only marks of plain formatting (<b>, <br>) and pictures of this computer or of the text itself stay, as the pictures a vault’s notes embed (Vault::with_links). A picture from elsewhere (“”, a tracking pixel) is a link to it: showing the text fetches nothing.