PENMAN
PENMAN
HTML Templates

One template, a thousand consistent posts.

Define HTML Templates for generated content — either by writing your own rules or by letting AI analyze your existing WordPress posts and building a template that matches your blog’s structure and design. Publishing is always draft-first, with full diff and revision history.

Generate from AI

Auto-build a template from real posts.

Custom rules

Bring your own HTML schema and classes.

Safe to WP

Autosave drafts + diffs before publish.

app.penmanpro.com/workspace/templates
HTML templates
Built for consistency

PENMAN analyzes your blog’s structure, so every new draft (or AI rewrite) follows the same layout: headings, sections, lists, callouts and CSS classes — without manual cleanup.

Why it matters

Stop fighting HTML after AI generation.

Most “AI content” fails in production because it doesn’t match your site’s markup and components. With templates, PENMAN generates content already shaped to your blog’s HTML schema and design system.

Reusable blocks

Save FAQ, takeaway, comparison and quote blocks once — reuse forever. Headings, sections, callouts, layout patterns enforced site-wide.

Schema-friendly

Templates emit clean JSON-LD where it makes sense (FAQ, Article). Make “good structure” the default for SEO & AEO.

On-brand styling

Class names you control — tied to your existing CSS, not ours. Zero-risk publishing through WordPress drafts and diffs.

Two ways to build templates

Generate from AI — or write your own rules.

Two creation modes: Generate from AI (PENMAN analyzes existing posts and infers structure), or Create template (you define rules yourself).

Generate from AI

Select an existing post. PENMAN analyzes the HTML structure and produces a reusable template so future articles fit your layout by default.

Create template (manual)

Define exactly which tags, heading hierarchy and CSS classes should be used — including strict or minimal markup.

Set as default

Mark one template as “default” so every generated draft uses the same formatting rules automatically.

Override per post

Use different templates for different content types (e.g., technical vs editorial) without breaking design consistency.

Template builder

What you can define

Templates support both free-form rules and structured fields:

  • Template name + description
  • Formatting rules (tags, structure, classes, constraints)
  • CSS classes (e.g. article-content)
  • Heading styles (H2 main, H3 subsections, etc.)
  • Formatting options (lists, tables, blockquotes, code, images, callouts, sections)
  • Semantic HTML + accessibility focus
Optional strictness

Enable Minimal Markup for clean output, or enforce more structure with sections/callouts when your design relies on components.

How it works — template → draft → publish

Every template output is published safely.

Templates aren’t just “formatting”. They’re part of the same WordPress workflow as AI edits and internal linking.

1

Create or generate a template

Build from AI (blog post analysis) or define your own formatting rules and classes.

2

Generate content with the template

Content Creator produces a draft already wrapped in your target markup (headings, lists, callouts, sections).

3

Save to WordPress as draft

PENMAN writes the updated HTML into WordPress as a draft version — never a blind overwrite.

4

Review diff + publish when ready

See exactly what changed (HTML + content) inside revision history. Publish only after approval.

Multi-template blogs

A different layout per content type.

Corporate posts, technical tutorials, comparison pages, evergreen guides — each can have a different layout, yet all remain consistent because the template governs structure and HTML output.

Works with other modules
  • Internal Linking: insert links without breaking design blocks
  • AI Personas: rewrite sections preserving HTML schema
  • SEO Workspace: analyze headings/links/images after generation
Want stricter control?

Add your own rules for tag usage, required sections, allowed classes and heading hierarchy. Templates are the contract between AI output and your site design.

Next step

Make your blog’s HTML structure the default for AI.

Auto-generate templates from existing posts, add your rules and publish safely with drafts + diffs.