obsidian-text-expand
obsidian-text-expand copied to clipboard
Bug: frontmatter sequence doesnt handle nested items (v0.10.8)
(path:"02 Diary")
^# Test
$frontmatter:frontmatter1
$frontmatter:nested.frontmatter2
$header:#
Should return
# Test
frontmatter1
nested.frontmatter2
[[filename#header]]
Where 'nested.frontmatter2' should either be the value of both the levels, or just the nested level value
Instead, it returns
# Test
frontmatter1
[object Object].frontmatter2
[[filename#header]]
The '[object Object].frontmatter2' is literal string returned (no front matter value returned);

While it didn't fixed you can try use eta for those purposes:
<% it.files.forEach(file => ({ %>
<%= file.frontmatter.nested.frontmatter2 %>
<% }) %>
is that templater code?
How do I 'use' that?
@QuaCKeReD That's from 0.11.2
```expander
SEARCH_QUERY
<% it.files.forEach(file => ({ %>
<%= file.frontmatter.nested.frontmatter2 %>
<% }) %>
```