You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm trying to make a Summary section for my daily notes. It's a list of some hand-typed items and then a dataview query that lists my meeting notes with links.
My goal is to make it all look like a single list, but the lists generated by dataview seem to be different from the ones generated by the editor.
Here's what code looks like:
## Summary
- Played a game with friends
```dataviewjs
const pages = dv
.pages('"Meetings"')
.where(page => page.file.name.startsWith(dv.current().file.name))
dv.list(pages.file.link)
```
The generated list has smaller bullet points that are indented slightly farther than the ones from the editor.
The lists generated by the obsidian editor seem to have a class has-list-bullet and an element in each list item <div class="list-bullet"> and the ones generated by dataview are regular list bullets.
I've tried rendering using HTML tags with the given classes, but because the list-bullet div is a child of the element, the list doesn't parse the element as markdown.
I'm hoping I don't have to render everything, including the links and such using pure HTML.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
I'm trying to make a Summary section for my daily notes. It's a list of some hand-typed items and then a dataview query that lists my meeting notes with links.
My goal is to make it all look like a single list, but the lists generated by dataview seem to be different from the ones generated by the editor.
Here's what code looks like:
The generated list has smaller bullet points that are indented slightly farther than the ones from the editor.
The lists generated by the obsidian editor seem to have a class
has-list-bullet
and an element in each list item<div class="list-bullet">
and the ones generated by dataview are regular list bullets.I've tried rendering using HTML tags with the given classes, but because the list-bullet div is a child of the element, the list doesn't parse the element as markdown.
I'm hoping I don't have to render everything, including the links and such using pure HTML.
Am I missing something obvious?
Beta Was this translation helpful? Give feedback.
All reactions