Skip to main content

office_markdown

Function office_markdown 

Source
pub fn office_markdown(
    bytes: &[u8],
    format: Format,
    deadline: Option<Instant>,
) -> Result<Converted, Error>
Expand description

把一份 Office/EPUB/CSV 文档转成 Markdown,供引擎和评测共用。deadline 到了报超时。 CSV 的字符集按正文探测;知道 Content-Type 时用 office_markdown_from。