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>
23 lines
273 B
Markdown
23 lines
273 B
Markdown
---
|
|
title: inherit parent method
|
|
import json:lib/json.mq.md
|
|
---
|
|
|
|
# Greeter
|
|
|
|
## hello
|
|
+ `who`
|
|
|
|
*msg = "Hello, `who`!"*
|
|
**msg**
|
|
|
|
# Loud = > Greeter
|
|
|
|
# main
|
|
|
|
*l = > Loud*
|
|
*ty = > json.get value=`l` key=_type*
|
|
> print text=`ty`
|
|
*m = > `l`.hello who=world*
|
|
> print text=`m`
|