Documentação
Guias e referências para a marcação de templates spintax.
Comece aqui
Referência de sintaxe
Referência completa de toda a marcação spintax: enumerações, permutações, variáveis, includes, comentários e pós-processamento.
O que é Spintax?
O que é o spintax, de onde veio e como a IA muda tudo na geração de conteúdo baseada em templates.
Nested Spintax
Mergulho profundo em aninhamento: profundidade arbitrária, composição entre elementos e o modelo de resolução de dentro para fora.
Guias de autoria
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 e pacotes
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.
Ferramentas e recursos
Spintax playground
Write a template, define variables, render N variants right in the browser. Inline error highlighting. Share via URL.
Editores de Spintax
Extensões para VS Code e Sublime Text, o playground no navegador — e o arquivo GTW que definiu a sintaxe.
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.
Quanto o conteúdo de IA custa de verdade
Preços reais por artigo em Claude, GPT, Gemini, Grok, DeepSeek, Qwen e Mistral (julho de 2026). Cache, batch e o momento em que pagar por artigo deixa de fazer sentido.
Outro guia planejado: Integração com WordPress.