What I’m trying to do
I’ve tried to put the dataview code inside the HTML table like:
But the dataview plugin won’t be triggered.
|
Column1
|
Column2
|
|
```dataview
list where file.day
sort file.day desc
```
|
```dataview
list where file.day
sort file.day desc
```
|
If Obsidian plugin won’t work inside the table, is there any way to generate the blow four quadrants layout, where each quadrant contains a list generated by the dataview plugin?
- Why not a markdown table?
- Markdown tables admit
inline code. If your query is a simple inline query like =this.file.inlinks, then you can insert the query in the table
| Col 1 | Col 2 |
| -------------------- | ------------------ |
| `=this.file.inlinks` | `=this.file.ctime` |
- For more complex queries, you can embed/transcluded a file or a specific block where you write your query:
| Col 1 | Col 2 |
| ----------- | ----------- |
| ![[query1]] | ![[query2]] |
@mnvwvnm, thanks very much for the solution!