obsidian-test-vault/ui/embed.md

230 B

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})} </>
}