Expand description
anydoc converts documents to GitHub-Flavored Markdown.
Recovery and skipped-content events are reported through the log
facade (debug/warn level); logging never changes conversion behavior and
its messages are not a stable API.
Modules§
- model
- Information-preserving document model.
Enums§
- Convert
Error - Why a conversion could not produce a useful result.
- Format
- Input format. Selects the parser; container variants that share a parser
(docm, xlsm, …) map onto these via
Format::from_bytesorFormat::from_extension.
Functions§
- to_
document - Parse an in-memory document into the document model. Pass a
Formatto select the parser, orNoneto detect it from the content. - to_
markdown - Convert a document file to Markdown. The format is detected from the
file content (
Format::from_bytes); the extension is the fallback for signature-less formats (CSV) and unrecognizable containers. - to_
markdown_ bytes - Convert an in-memory document to Markdown. Pass a
Formatto select the parser, orNoneto detect it from the content (Format::from_bytes), which signature-less formats (CSV) have to name explicitly.