Skip to main content

render

Function render 

Source
pub fn render(title: &str, payload: &str) -> (String, String)
Expand description

The page body for an attachment titled title whose payload sits beside the page at payload (a sibling reference, as the sidecar declares it). Returns the HTML and the Markdown a template reads as the page’s source body — an image or a link, which is what an author would have written.