← Back to Tools
Workspace · Formula Question Preview

Formula Question — Live Solution Preview

Paste a Moodle Formula-type question script. The right pane shows the rendered solution with {a}, {b}, {c}, {d} substituted and every {=expression} computed live, just like the Moodle Formulas plugin would on a real attempt.

Formula Question Source HTML + LaTeX with {a} {b} {c} {d} and {=expr}
Rendered Preview a=2, b=3, c=4, d=5
Paste a Formula question on the left to see the live solution preview.

Syntax cheat-sheet

{a}, {b}, {c}, {d}  →  replaced with the values from the bar above.

{=expression}  →  evaluates the expression after variable substitution. Supports + - * / ** % and parentheses. Example: {=({a})**2+({b})} with a=2, b=3 becomes 7.

Works the same way Moodle’s Formulas plugin processes a question on a student attempt.