pub fn validate_post_document_bytes(
path_label: impl Into<String>,
bytes: &[u8],
collection: PostCollection,
) -> Result<PostDocument, ContentValidationErrors>Expand description
Validate one Markdown post from raw bytes using the production default post byte limit and UTF-8 contract.