feat: équations mathématiques (KaTeX) — bloc, inline, barre visuelle, IA
Some checks failed
CI / Lint, Unit Tests & Build (push) Failing after 1m28s
CI / Deploy production (on server) (push) Has been skipped

- Bloc équation avec barre visuelle 20 symboles (fractions, intégrales, grec, etc.)
- Math en ligne : tape $x^2$ → rendu KaTeX inline automatique
- Math en bloc : tape $$E=mc^2$$ → converti en bloc
- Génération IA : décrit l'équation en langage naturel → LaTeX
- Service math-from-text + endpoint /api/ai/math-from-text
- CSS KaTeX importé
- i18n FR/EN complet
This commit is contained in:
Antigravity
2026-06-14 18:21:46 +00:00
parent 83110200d5
commit d5b409c1ac
7 changed files with 485 additions and 1 deletions

View File

@@ -2435,6 +2435,16 @@
"linkPreviewUnwrap": "Revert to simple link",
"linkPreviewDelete": "Delete preview",
"smartPasteUrlPreview": "Paste as preview card",
"slashMath": "Equation",
"slashMathDesc": "Mathematical formula in LaTeX notation",
"mathLatex": "LaTeX notation",
"mathPlaceholder": "\\frac{1}{2} + \\sum_{i=1}^{n} x_i",
"mathConfirm": "Confirm",
"mathEdit": "Edit",
"mathDelete": "Delete",
"mathCancel": "Cancel",
"mathAi": "Write with AI",
"mathAiPlaceholder": "Describe the equation in words... (e.g: quadratic formula)",
"calloutDelete": "Delete callout",
"calloutUnwrap": "Disable callout",
"calloutInfo": "Information",

View File

@@ -2439,6 +2439,16 @@
"linkPreviewUnwrap": "Revenir au lien simple",
"linkPreviewDelete": "Supprimer l'aperçu",
"smartPasteUrlPreview": "Coller comme carte aperçu",
"slashMath": "Équation",
"slashMathDesc": "Formule mathématique en notation LaTeX",
"mathLatex": "Notation LaTeX",
"mathPlaceholder": "\\frac{1}{2} + \\sum_{i=1}^{n} x_i",
"mathConfirm": "Valider",
"mathEdit": "Modifier",
"mathDelete": "Supprimer",
"mathCancel": "Annuler",
"mathAi": "Écrire avec l'IA",
"mathAiPlaceholder": "Décris l'équation en mots... (ex: formule quadratique)",
"calloutDelete": "Supprimer l'encadré",
"calloutUnwrap": "Désactiver l'encadré",
"calloutInfo": "Information",