Documentation
Guides et références pour le balisage de modèles spintax.
Commencer ici
Référence de syntaxe
Référence complète de tout le balisage spintax : énumérations, permutations, variables, includes, commentaires et post-traitement.
Qu'est-ce que Spintax ?
Ce qu'est le spintax, d'où il vient et comment l'IA change tout dans la génération de contenu basée sur des modèles.
Spintax Imbriqué
Plongeon dans l'imbrication : profondeur arbitraire, composition inter-éléments et modèle de résolution de l'intérieur vers l'extérieur.
Guides de rédaction
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.
Moteurs et paquets
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.
Outils et ressources
Spintax playground
Write a template, define variables, render N variants right in the browser. Inline error highlighting. Share via URL.
Éditeurs Spintax
Extensions VS Code et Sublime Text, le playground dans le navigateur — et l’archive GTW qui a défini la syntaxe.
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.
Ce que coûte vraiment le contenu IA
Les prix réels par article chez Claude, GPT, Gemini, Grok, DeepSeek, Qwen, Mistral (juillet 2026). Cache, batch, et le moment où payer à l’article cesse d’avoir du sens.
Autre guide prévu : Intégration WordPress.