Skip to main content

export

Function export 

Source
pub fn export(
    title: &str,
    encoding: Encoding,
    bytes: &[u8],
) -> Result<String, AxError>
Expand description

bytes, a Markdown version in encoding, as one HTML file titled title.

ยงErrors

E_INVALID_ARGS for a UTF-16 version, whose tree cannot be laid against its bytes (D25), for a version longer than EXPORT_BYTES_MAX, and for bytes that are not text in encoding.