A Dataview step in Longform compile

Hi,

I am trying to place some metadata (defined as formatter properties in an Obsidian note) into the text of a Longform scene.

For example, if the file steve.md begins with:

-–
age: 17

The Dataview inline query `= [[steve]].age` will display the string “17” (without the quotes, of course), so the sentence:

“At his `= [[steve]].age` years of age…”

would look:

“At his 17 years of age…”

I am emphasizing display and look because, as the Dataview documentation says, the file (steve.md in this case) is not edited.

However, that is what I want to do, namely, modify the output to my manuscript. Ideally, in a compilation step of Longform, Dataview would be invoked to resolve the inline queries and place their results in the output of such step, allowing for late-binding of the metadata found in the (in this case) character’s notes.

I am not wedded to Dataview, if anyone knows how to insert text retrieved from a note’s metadata, I would be grateful.

Thanks in advance
Rafael