Module somedoc::write::markdown[][src]

Write a document in one of a number of light-weight markdown formats. format.

Example

use somedoc::write::OutputFormat;
use somedoc::write::markdown::{writer, MarkdownFlavor};

let doc = make_some_document();

writer(&doc, MarkdownFlavor::GitHub, &mut std::io::stdout()).unwrap();

Structs

MarkdownWriter

Implementation of the Markdown writer structure, usually this is accessed via the writer function, but may be used directly.

Enums

MarkdownFlavor

This defines the supported flavors of markdown.

Functions

writer

Implementation of the writer function for XWiki.