Module somedoc::write::html[][src]

Write a document as HTML. This includes a small number of additional CSS and JavaScript assets to support math formatting and code syntax highlighting.

Example

use somedoc::write::{OutputFormat, write_document_to_string};

let doc = make_some_document();

let doc_str = write_document_to_string(&doc, OutputFormat::Html).unwrap();
println!("{}", doc_str);

Structs

HtmlWriter

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

Functions

writer

Implementation of the writer function for HTML.