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>
26 lines
287 B
Markdown
26 lines
287 B
Markdown
---
|
|
title: math formula chain
|
|
import math:lib/math.mq.md
|
|
---
|
|
|
|
# main
|
|
|
|
`f` =
|
|
$$
|
|
x^3
|
|
$$
|
|
|
|
*df = > math.diff formula=`f` var=x*
|
|
|
|
*ty = > type `df`*
|
|
|
|
> print text=`ty`
|
|
|
|
*df2 = > math.diff formula=`df` var=x*
|
|
|
|
> print text=`df2`
|
|
|
|
*y = > math.eval formula=`df` var=x value=2*
|
|
|
|
> print text=`y`
|