pub fn export(
document: &Document,
format: ExportFormat,
suffix: Option<&str>,
) -> Result<ExportedFile, String>Expand description
Writes document in format. suffix, such as a date, goes after the title in the name.
pub fn export(
document: &Document,
format: ExportFormat,
suffix: Option<&str>,
) -> Result<ExportedFile, String>Writes document in format. suffix, such as a date, goes after the title in the name.