Class RenderPipeline
java.lang.Object
dev.jcputney.mjml.render.RenderPipeline
Orchestrates the 7-phase rendering pipeline:
- Preprocess (handled by MjmlParser)
- Parse (handled by MjmlParser)
- Resolve includes (expand mj-include)
- Process head (extract fonts, styles, attributes, etc.)
- Resolve attributes (cascade applied during rendering)
- Render body (top-down component rendering)
- Assemble skeleton + CSS inlining
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRenders MJML source to a complete HTML document.
-
Constructor Details
-
RenderPipeline
-
-
Method Details
-
render
Renders MJML source to a complete HTML document.- Parameters:
mjmlSource- the raw MJML markup to render- Returns:
- the render result containing the HTML output, title, and preview text
-