16 lines
333 B
Markdown
16 lines
333 B
Markdown
---
|
|
references:
|
|
- plugs/index/data.ts
|
|
- plugs/index/yaml.ts
|
|
---
|
|
You can also embed arbitrary YAML data blocks in pages via fenced code blocks and use a tag as a coding language, e.g.
|
|
|
|
```#contact
|
|
$ref: pete-contact
|
|
name: Pete
|
|
age: 55
|
|
```
|
|
|
|
Which then becomes queryable via the `contact` tag:
|
|
${query[[from index.objects("contact")]]}
|