Function somedoc::write::markdown::writer [−][src]
pub fn writer<W: Write>(
doc: &Document,
flavor: MarkdownFlavor,
w: &mut W
) -> Result<()>
Implementation of the writer function for XWiki.
While this can be called directly it is most often used by calling either
model::write_document
or
model::write_document_to_string
.