Replies: 3 comments 6 replies
-
how's this work for you? for (let group of pages.groupBy(p => p.file.path.split('/').at(-2))) {
if (options.header) {
dv.header(3, group.key);
}
dv.el('span', group.rows.map(p => p.file.link).join(' • '))
} |
Beta Was this translation helpful? Give feedback.
0 replies
-
same idea, but more simply: dv.el('span', dv.pages('"_in"').file.link.join(' | ')) |
Beta Was this translation helpful? Give feedback.
3 replies
-
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have created Wikipedia-like info boxes for my Obsidian, which I embed on a variety of pages with similarities.
I have done this with a markdown table and in each cell have manually added the links I want, for example:
[[Place page 1]] • [[Place page 2]] • [[Place page 3]] • [[Place page 4]]
I'd prefer to generate these inline lists dynamically using Dataview (not TABLE or vertical LIST), but a horizontal list, using a Dataview query. Ideally, I'd like each entry to be followed by a separate character like " ● " to help make each link separately distinguishable to the reader.
I can work out the query, but can't work out how to get this format. Is that possible?
Thanks for any help you can give.
Beta Was this translation helpful? Give feedback.
All reactions