Documentation

Guides and references for spintax template markup.

Spintax playground

Write a template, define variables, render N variants right in the browser. Inline error highlighting. Share via URL.

What AI content actually costs

Real per-article prices across Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Mistral (April 2026). Cache, batch, and when pay-per-article stops making sense.

Syntax Reference

Complete reference for all spintax markup: enumerations, permutations, variables, includes, comments, and post-processing.

What is Spintax?

What spintax is, where it came from, and how AI changes everything about template-based content generation.

GTW History

The Generating The Web engine that defined the syntax standard. Downloads and Sublime Text syntax highlighting.

Nested Spintax

Deep-dive into nesting: arbitrary depth, cross-element composition, and the innermost-first resolution model.

Reverse authoring mindset

Write the final text first. Add spintax markup last. The mental model that makes every template readable.

Variables & multi-site reuse

How variables turn one template into many sites without footprint. Precedence, reroll gotchas, separator collisions.

Permutations in practice

From simple lists to title-style serial headings. Separator rules, clamping, and the per-element override.

Grammar-safe synonymization

Keep every resolved variant readable. Binding rules for English agreement — and a full Russian-cases section in the RU version.

Template composition

Variables as already-rendered HTML chunks. The three-level item → section → orchestrator pipeline that handles real-world catalogues, payment pages, and feature lists.

Conditional spintax

The {?VAR?then|else} pre-pass for value-driven branching. Three forms, truthy rules, two-pass pipeline, and why it is not a random pick.

More guides planned: Examples & Recipes, WordPress Integration, AI-to-Template Workflow.