Skip to main content

postcrate_core/rendering/
mod.rs

1//! Multi-client rendering preview engine (..40).
2//!
3//! Three concerns live here:
4//!
5//!   - [`profile`] — client profile transforms (Gmail Web,
6//!     Outlook, Apple Mail, …) that rewrite HTML to surface each
7//!     client's quirks.
8//!   - [`lint`] — HTML linter that flags known-bad patterns
9//!     (style-in-body, CSS Grid, web fonts in Outlook, etc.).
10//!   - [`a11y`] — accessibility linter: contrast, alt text,
11//!     "click here" detection, heading semantics.
12//!
13//! All output is honest-by-design: each profile carries a fidelity
14//! badge so we never claim "this is exactly Outlook 2019". The
15//! reality is we're an approximation; the badges are how we say so.
16
17pub mod a11y;
18pub mod lint;
19pub mod profile;