Documentación
Guías y referencias para el marcado de plantillas spintax.
Empieza aquí
Referencia de sintaxis
Referencia completa de todo el marcado spintax: enumeraciones, permutaciones, variables, includes, comentarios y post-procesamiento.
¿Qué es Spintax?
Qué es spintax, de dónde viene y cómo la IA cambia todo sobre la generación de contenido basada en plantillas.
Spintax Anidado
Profundización en el anidamiento: profundidad arbitraria, composición entre elementos y el modelo de resolución de adentro hacia afuera.
Guías de redacción
Reverse authoring mindset
Write the final text first. Add spintax markup last. The mental model that makes every template readable.
ENVariables & multi-site reuse
How variables turn one template into many sites without footprint. Precedence, reroll gotchas, separator collisions.
ENPermutations in practice
From simple lists to title-style serial headings. Separator rules, clamping, and the per-element override.
ENGrammar-safe synonymization
Keep every resolved variant readable. Binding rules for English agreement — and a full Russian-cases section in the RU version.
ENTemplate composition
Variables as already-rendered HTML chunks. The three-level item → section → orchestrator pipeline that handles real-world catalogues, payment pages, and feature lists.
ENConditional 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.
ENPlural agreement
Pick the correct grammatical noun form by count: 1 язык, 2 языка, 5 языков. RU/UK/BE and SR/HR/BS 3-form, EN-style 2-form. The first spintax engine to ship plurals as a first-class primitive.
Motores y paquetes
Spintax for JavaScript
The open-source @spintax/core engine on npm. Parse, render, validate spintax on Cloudflare Workers, Node, and in the browser. Zero deps, MIT, parity-verified against the WordPress plugin.
ENSpintax for PHP
The open-source spintax/core engine on Packagist. Conditionals, plural agreement and safe includes — not just {a|b|c}. Zero deps, MIT, PHP 8.0+, bound to the same cross-engine corpus.
ENSpintax engines — the family
One syntax, four independent engines — JavaScript, PHP, Python and Object Pascal — held to one shared golden corpus. Pick by runtime; install, quick start and where they differ.
Herramientas y recursos
Spintax playground
Write a template, define variables, render N variants right in the browser. Inline error highlighting. Share via URL.
Editores de Spintax
Extensiones para VS Code y Sublime Text, el playground en el navegador — y el archivo GTW que definió la sintaxis.
ENSpintax by Example
A finished paragraph reverse-authored into a rich template — variables, permutations, conditionals, plurals and cases, with real renders.
ENWriting templates with AI
The working method: what to feed the model, the prompt, the chat / skill / MCP setups, and the nine mistakes language models reliably make in spintax.
Lo que cuesta realmente el contenido con IA
Precios reales por artículo en Claude, GPT, Gemini, Grok, DeepSeek, Qwen y Mistral (julio de 2026). Cache, batch y cuándo deja de tener sentido pagar por artículo.
Otra guía prevista: Integración con WordPress.