Class HtmlSkeleton
java.lang.Object
dev.jcputney.mjml.render.HtmlSkeleton
Generates the complete HTML document skeleton wrapping the rendered body. Includes DOCTYPE,
html/head/body tags, CSS resets, font imports, MSO XML settings, media queries, and preview text.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Stringassemble(String bodyContent, GlobalContext ctx) Assembles the full HTML document from the rendered body content.
-
Method Details
-
assemble
Assembles the full HTML document from the rendered body content.- Parameters:
bodyContent- the rendered HTML body content to embed in the documentctx- the global context providing configuration, styles, and metadata- Returns:
- the complete HTML document string
-