Expand description
§a2ml
Parser and renderer for A2ML (Attested Markup Language).
A2ML is a lightweight markup format designed for AI-agent communication that carries built-in attestation metadata, enabling provenance tracking and trust-level annotations on document content.
§Quick start
use a2ml::parser::parse;
use a2ml::renderer::render;
let input = "# Hello\n\n@version 1.0\n\nA paragraph.";
let doc = parse(input).unwrap();
let output = render(&doc).unwrap();§Modules
Re-exports§
pub use error::A2mlError;pub use types::Attestation;pub use types::Block;pub use types::Directive;pub use types::Document;pub use types::Inline;pub use types::Manifest;pub use types::TrustLevel;