Skip to main content

render_markup

Function render_markup 

Source
pub fn render_markup(src: &str, opts: &RenderOptions) -> Result<Vec<u8>>
Expand description

解析标记文本并渲染成图片字节(格式由 RenderOptions::format 决定,默认 PNG)。