Thank you for reaching out. I (yet) don’t understand how this works if I have more than one admonition/callout in a card and multiple bullets, for instance:
``` ad-abstract
title: atomic summary
* understanding how to query
* another bullet
```
``` ad-danger
title: main challenge(s)
* some danger
* some other danger
```
-
First things first. For testing I have added this into a card ‘exploring list with dataview’:
## Gratitude
## what happend today?
## here’s what happened
## here’s what also happened -
Also for testing, I’ve added an ‘else’:
// Output the header
dv.header(2, file.basename)
if (summary) {
// Output the header and summary
// dv.header(2, file.basename)
dv.paragraph(summary[1].trim())
} else {
dv.paragraph(“some text”)
}
Now I indeed get a list of all my card-titles & ‘some text’.
Unfortunately the card ‘exploring list with dataview’ - containing the \ ## here’s what happened - doesn’t show \ ## here’s what happened.
Any thoughts, before I will tweak the regex-function for listing the <li>'s under “ad-danger” and/or [!DANGER]… ??