VSCode Latex 片段:组合占位符和花括号

VSCode Snippets for Latex: Combining placeholders and curly braces

我正在为 LaTeX VSCode 中的个人片段设置文件。 有没有办法组合占位符(语法:${1:foo})和普通花括号? 在我的示例中,我希望我的代码输出: \fcolorbox {frame}{background}{text} 每个变量都是占位符。我生成的片段代码 (.json) 如下所示:

    "Colorbox fcolorbox": {
  "prefix": "colbox",
  "body": [
    "\fcolorbox ${{1:frame}}${{2:background}}${{3:text}}"
  ],
  "description": "Colorbox fcolorbox"
}

但不起作用,因为它将 $ 和 {} 输出并解释为 LaTeX 符号。 有没有办法解决这个问题并使占位符起作用?

这会产生请求的结果:\fcolorbox {frame}{background}{text}

"Colorbox fcolorbox": {
    "prefix": "colbox",
    "body": [
      "\fcolorbox {${1:frame}}{${2:background}}{${3:text}}"
    ],
    "description": "Colorbox fcolorbox"
  }