Files
marqdo/tests/structure/bare-id-italic-bold.mq.md
T
cflmyandCursor f275d1e030 Drop redundant backticks in *…* / **…** code segments
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>
2026-08-17 17:22:45 +08:00

38 lines
433 B
Markdown

---
title: bare id in italic and bold
description: Inside *…* / **…**, bare ids are variables; strings need quotes.
---
# main
*answer = 1*
*n = answer + 1*
*ticked = 2*
*s = 'quoted'*
> print text=`n`
> print text=`ticked`
> print text=`s`
*a = > ret_var x=7*
> print text=`a`
*b = > ret_str*
> print text=`b`
*c = > ret_single*
> print text=`c`
## ret_var
+ `x`
**x**
## ret_str
**"ok"**
## ret_single
**'hi'**