Expand description
Markdown content parsing, validation, discovery, asset resolution, and identity.
Re-exports§
pub use identity::AssetBindingTarget;pub use identity::PostRendererIdentity;pub use identity::RevisionIdentityError;pub use identity::SiteShellRendererIdentity;pub use identity::digest_asset;pub use tree::ContentDepthLimit;pub use tree::ContentEntryLimit;pub use tree::ContentFileByteLimit;pub use tree::ContentPathByteLimit;pub use tree::ContentTreeByteLimit;pub use tree::ContentTreeLimits;pub use tree::ContentTreeLimitsError;pub use tree::DiscoveredAsset;pub use tree::DiscoveredContentTree;pub use tree::DiscoveredPost;pub use tree::DiscoveredPublication;pub use tree::discover_content_tree;
Modules§
Structs§
- Allowed
Origin Ordinal - Asset
Digest - Asset
Resolution Error - Asset
Resolution Errors - Asset
Resolution Warning - Asset
Resolution Warnings - Author
Name - Author
Settings - Authored
Markdown Destination - The destination value produced by the CommonMark parser for one occurrence.
- Content
Candidate Store - Content
Tree Digest - Versioned identity of the exact managed inputs in one discovered content tree.
- Content
Validation Error - Content
Validation Errors - Digested
Asset - A local asset path paired with the digest of its exact bytes.
- External
Asset Origin - A normalized HTTPS origin used by the effective asset allowlist.
- External
Asset Origin Error - External
Asset Url - A normalized external asset URL that is safe to include in revision input.
- External
Asset UrlError - Field
Path - Logical
Asset Path - Logical
Content Path - Markdown
Destination Ordinal - The one-based position of a link or image destination in a Markdown event stream.
- Markdown
Source - Markdown
Source Range - A half-open byte range in the exact Markdown source bound to a resolution.
- Post
Alias - Post
Description - Post
Document - PostId
- Post
IdParse Error - Post
Metadata - Post
Revision Digest - Post
Slug - Post
Source - PostTag
- Post
Title - Prepared
Content - An immutable, compiler-owned candidate with source-bound asset inputs.
- Prepared
Content View - Read-only compiler inputs for composition in a renderer.
- Prepared
Post - One validated document, its approved assets, and its cached content identity.
- Prepared
Post View - A borrowed post/asset pair that cannot mutate the prepared candidate.
- Preview
Digest - Publication
Asset Settings - Publication
Base Url - Publication
Base UrlError - Publication
Settings - Publication
Source - Resolved
Local Asset - Exact discovered bytes paired with the resolver-calculated identity.
- Resolved
Local Asset Store - Immutable local bytes keyed by their portable logical path.
- Resolved
Markdown Destination - One resolver-approved Markdown asset destination.
- Resolved
Post Assets - Resolver-owned, complete asset inputs for one post revision.
- Resolved
Site Assets - Resolver-owned, complete asset inputs for one site snapshot.
- Retained
Content Candidate - Route
Value Error - Site
Description - Site
Settings - Site
Snapshot Digest - Site
Title - Unresolved
Asset Reference - Unresolved
Https Origin - Validated
Content - Validation
Location
Enums§
- Asset
Reference Location - Asset
Resolution Code - Asset
Resolution Warning Code - Asset
Revision Reference - A normalized local or external asset reference used by digest transcripts.
- Content
Candidate Store Error - Content
Tree Digest Parse Error - Content
Validation Code - Default
Post TipPolicy - Digest
Kind - Digest
Parse Error - Draft
Status - Logical
Tree Path Error - Markdown
Destination Kind - Plain
Text Error - Post
Collection - Post
TipPolicy - Prepare
Content Error - Resolved
Local Asset Lookup Error
Functions§
- prepare_
content - Parse and resolve one owned content tree without network I/O. The result keeps each validated document paired with its approved assets.
- run
- Runs the standalone single-document validator to completion.
- validate_
content - validate_
post_ document - Validate one Markdown post without requiring its diagnostic label to be a managed-tree path.
- validate_
post_ document_ bytes - Validate one Markdown post from raw bytes using the production default post byte limit and UTF-8 contract.