quilldown 1.5.0

Convert GitHub-Flavored Markdown into high-fidelity Word .docx documents.
Documentation
// <auto-generated by typra-emitter>
// Code generated by Typra emitter; DO NOT EDIT.

#![allow(
    unused_imports,
    dead_code,
    non_camel_case_types,
    unused_variables,
    unexpected_cfgs,
    clippy::all
)]

use super::convert_options::ConvertOptions;

use super::document::Document;

use super::render_options::RenderOptions;

use super::render_stats::RenderStats;

#[async_trait::async_trait]
pub trait Quilldown: Send + Sync {
    async fn emit(
        &self,
        doc: &Document,
        options: &Option<RenderOptions>,
    ) -> Result<RenderStats, Box<dyn std::error::Error + Send + Sync>>;
    async fn lower(
        &self,
        markdown: &String,
        options: &Option<ConvertOptions>,
    ) -> Result<Document, Box<dyn std::error::Error + Send + Sync>>;
    async fn render(
        &self,
        doc: &Document,
        options: &Option<RenderOptions>,
    ) -> Result<serde_json::Value, Box<dyn std::error::Error + Send + Sync>>;
}