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>
343 B
343 B
title: quantum gate matrix heatmap smoke description: gate.draw kind=matrix writes SVG heatmap. import quantum:ext/quantum/quantum.mq.md
main
H = > quantum.gate name=H
img = > H.draw kind=matrix path=quantum-gate-heatmap.svg
kind = img[^kind]
kind== matrix
print text=heatmap-ok
print text=heatmap-fail