Value-expression variables inside *…* / **…** segments no longer need backticks (the segment markers already mark code). Drop trailing spaces and de-tick value-expression variable names in tests and skill docs; keep backticks for string interpolation, call args, and method receivers. Co-authored-by: Cursor <cursoragent@cursor.com>
315 B
315 B
title: math formula pipeline import math:lib/math.mq.md
main
f =
x^2 - 2
ty = > type f
print text=
ty
df = > math.diff formula=f var=x
print text=
df
roots = > math.solve formula=f var=x
print text=
roots
y = > math.eval formula=f var=x value=3
print text=
y