Greetings fellow humans!
I discovered this tool about a month ago and man what a ride! Here’s my still somewhat basic scenario.
What I’m trying to do
I have a dv TASK query set up on my Daily notes template. I would like a simple border around it; a title would be nice but not required. Here’s my current pitiful attempt –
Things I have tried
<p style="background:yellow" >
&nbps;
</p>
dataview
task
where contains(text, "#sticky")
<p style="background:yellow" >
&nbps;
</p>
That works but ehhhhh
Is there a nicer way to format the contents of the dv?
Thanks!
holroy
March 9, 2024, 1:23pm
2
Take a look at this post where I discuss the various options for targeting dataview queries:
This thread will show some of the options available for styling the result of your Dataview queries by providing you with CSS selectors which targets the outer elements of the query results. The specific styling within each is left up to the reader. After first covering the basics, I’ll show a nifty hack using #tags to single out specific queries.
The basic options for styling
The three most common options to target every query of the various query types are:
TABLE queries and dv.table(): tab…
system
Closed
June 7, 2024, 1:24pm
3
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.