obsidian-test-vault/ui/embed.md

8 lines
230 B
Markdown
Raw Normal View History

2024-10-28 20:38:41 -04:00
```datacorejsx
return function View() {
let link = dc.fileLink(dc.app.metadataCache.getFirstLinkpathDest("buttons.md", "/").path).toEmbed();
console.log(link)
return <>{dc.LinkEmbed({inline: false, link: link.path})} </>
}
```