package main import ( "bytes" "context" ) // EditorialTextBlock overrides the built-in `text` block for the editorial // template. Body copy is Source Serif 4 within a 64ch measure, with // continuation-paragraph indents. // // Content shape: { "text", "class" } — same as the built-in text block. func EditorialTextBlock(ctx context.Context, content map[string]any) string { text := getString(content, "text") class := getString(content, "class") var buf bytes.Buffer _ = editorialTextComponent(text, class).Render(ctx, &buf) return buf.String() }