Skip to main content

office_markdown_from

Function office_markdown_from 

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

同 office_markdown,另给文件来源的 Content-Type(响应头或上传时的):CSV 按它的 charset 解码,和网页一样;声明和正文对不上时纠正并给 decode: 警告。