obsidian-dataview
obsidian-dataview copied to clipboard
feat: add tables to file metadata
What changed?
- add tables to file metadata
Why?
- I like store some of my data in a table. It is much easier to read/write compare to using frontmatter. Ideally, I would be able to write
dataview
TABLE file.tables WHERE length(file.tables) > 0
dataviewjs
const tables = dv.pages('"path"').file.tables
// show table for the last 5 days
for (let table of tables) {
dv.table(
table.headers,
table.rows
)
}
@mihaibirsan LMK, if additional work needed. I want to get this merge before start working on adding callout.
Any chance this can get in whenever you do your next release? It's a feature I'd really enjoy having.