> For the complete documentation index, see [llms.txt](https://documentation.soulver.app/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.soulver.app/zh/documentation/tags.md).

# 标签

## 用标签对支出分组

给需要分组的行添加标签，然后计算这些行答案的总和或平均值：

```
$20 lunch #food   | $20.00
$30 dinner #food  | $30.00
total of #food    | $50.00
average of #food  | $25.00
```

只包括计算所在行上方带有该标签的行。这些行不必相邻。

与 `# Food` 这样的标题不同，`#food` 这样的标签在 `#` 后面没有空格。

默认情况下，分隔线会为下一节开启一组新的标签。
