Skip to main content

format_document_with_style

Function format_document_with_style 

Source
pub fn format_document_with_style(
    style: Style,
    request: FormatDocumentRequest,
) -> Result<FormatDocumentResult, FormatDocumentError>
Expand description

Format a document using an already-resolved style.

This is the primary entry point for adapters (citum-server, citum-bindings) that have a resolver chain and can pre-resolve style IDs and URIs.

ยงErrors

Returns an error if rendering fails.