quillmark 0.94.0

A schema-driven document engine — turn Markdown into a fully typeset document with a Quill
Documentation
//! # Quillmark
//!
//! Quillmark is a schema-driven document engine that turns Markdown
//! with card-yaml metadata blocks into a fully typeset document (PDF, SVG, PNG).
//!
//! ```no_run
//! use quillmark::{quill_from_path, Document, OutputFormat, Quillmark, RenderOptions};
//!
//! let quill = quill_from_path("path/to/quill").unwrap();
//! let engine = Quillmark::new();
//!
//! let parsed = Document::parse("~~~\n$quill: my_quill\n$kind: main\ntitle: Hello\n~~~\n\n# Hello World").unwrap().document;
//! let result = engine.render(&quill, &parsed, &RenderOptions {
//!     output_format: Some(OutputFormat::Pdf),
//!     ..Default::default()
//! }).unwrap();
//! ```

// Re-export core types for convenience. `Quill` is the single quill type
// (portable, declarative data); construct it from an in-memory tree with
// `Quill::from_tree`, or from disk with the `quill_from_path` helper below.
pub use quillmark_core::{
    Artifact, Backend, Card, ChangeSet, Delta, Diagnostic, Document, LiveSession, Location,
    OutputFormat, ParseError, Parsed, Quill, RenderError, RenderOptions, RenderResult,
    Content, Severity,
};

mod load;
pub mod orchestration;

pub use load::quill_from_path;
pub use orchestration::Quillmark;