Skip to content

Commit be14a2c

Browse files
committed
docs query-blocks: add note about replacements
1 parent fda7be4 commit be14a2c

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

docs/docs/query-blocks.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ There are a few unsupported filters, these are tracked in [this GitHub issue](ht
2727
- Wildcard filters do not work as expected. E.g. - `@*ball`
2828
- You cannot combine multiple filters with commas. E.g. - `today | overdue, p1`
2929

30+
This field also supports replacements:
31+
32+
- `{{filename}}` will be replaced with the current note's name, without the `.md` extension.
33+
3034
### `name`
3135

3236
If you want to have an embedded header rendered with your query, you can use the `name` option. This will render a `<h4>` element above your tasks.

docs/versioned_docs/version-2.1.0/query-blocks.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,10 @@ There are a few unsupported filters, these are tracked in [this GitHub issue](ht
2727
- Wildcard filters do not work as expected. E.g. - `@*ball`
2828
- You cannot combine multiple filters with commas. E.g. - `today | overdue, p1`
2929

30+
This field also supports replacements:
31+
32+
- `{{filename}}` will be replaced with the current note's name, without the `.md` extension.
33+
3034
### `name`
3135

3236
If you want to have an embedded header rendered with your query, you can use the `name` option. This will render a `<h4>` element above your tasks.

0 commit comments

Comments
 (0)