Hee hee, secret feature …

Did you ever try:
Note yaml-var:
---
yamlvar: "Testing, hello there!"
---
Note yaml-include:
---
test: !include [[yaml-var]]
---
# `=this.test.yamlvar`
(requires Dataview for the =this. syntax)
Be aware that this is not standard YAML (but many YAML preprocessors support it). Plus, it generates YAMLWarning: Unresolved tag: !include … in the console.
Seems either the devs thought ahead, or just the used upstream library supports it. Yay!
Seems !!inc also works. So maybe just CodeMirror uses js-yaml and that supports these, or maybe in turn uses yaml-include.
Interestingly enough, Dataview picks it up and Templater doesn’t:
So I’d add to this feature request:
Please officially support the !include (preferred) or !!inc syntax, so we don’t see warnings all the time.
*EDIT: Too bad, so sad! After more testing, I found that it’s not !include working but an odd Dataview “feature”, because using test: [[yaml-var]] turns out to work the same!
Still I’d support this FR, by having !include officially supported in YAML frontmatter.