Section Heading
Section Heading
Section title (e.g. “Kontaktdaten”, “Teaser”, “Autoren”). Not a separate .mjml fragment; use the TS builder or inline mj-text with consistent font-size/font-weight.
In API (TypeScript)
import { buildMjmlSectionHeading } from '~/utils/emailTemplates';
buildMjmlSectionHeading('Autoren', { level: 'h1' }); // 18px, font-weight 600buildMjmlSectionHeading('Weitere Whitepaper', { level: 'h2' }); // 16px, font-weight 600Levels
- h1: 18px, font-weight 600
- h2: 16px, font-weight 600 (default)