Obsidian Upkeep Note

That’s strange, I have say (very unhelpfully) that it works for me? Quick movie of it: Watch 2024-06-14 at 11.35.55 AM | Streamable (expires in two days)

Reading the dataview docs, file.outlinks should include embeds and non-md files both. As a test, try putting this query in a file and then embed/remove some files from it?

```dataviewjs
const outlinks = dv.current().file.outlinks
dv.list(outlinks)
```

Thanks for providing a screenshot. How have you created the banana icon within the file? Is it a fontawesome icon connected with a pagetitle? Something like a plugin in place? I would be happy if you share your expertise :slight_smile:

That’s the Iconize plugin, GitHub - FlorianWoelki/obsidian-iconize: Simply add icons to anything you want in Obsidian. (it’s in the community plugins). There’s a setting in the plugin to place the icon at the top of the note, and I’ve just written a bit of CSS to center it (as I have the title centered):

/* make sure the SVG fills the parent container */
.iconize-title-icon > svg { 
    height: 100%;
    width: 100%;
} 

/* size the parent and set the margins to center align it */
.iconize-title-icon {
    height: 2.5em;
    margin-left: var(--content-margin)!important; 
    margin-right: var(--content-margin)!important; 
    margin-bottom: 1.5em;
}

(note that this is specific to the minimal theme, which is what I use)

1 Like