flashcards-obsidian icon indicating copy to clipboard operation
flashcards-obsidian copied to clipboard

Embed blocks

Open Klaudioz opened this issue 2 years ago • 6 comments

I'd like to have only one deck from Obsidian so I've created newfile.md and I'd like to populate this file with only embed blocks for all my vault to don't repeat myself. So, newfile.md has the following content:

---
cards-deck: Obsidianki
---

# Anki-Obsidian Deck

###### ![[Kubernetes#^6c0109]] #card
![[Kubernetes#^2bb273]]

###### Hello #card
World

So, this file works without any issue on Obsidian but if I see the generated notes, I can see:

Front ![[Kubernetes#^6c0109]] Back ![[Kubernetes#^2bb273]]

Front Hello Back World

So, is anyway I can get the first note with the content of the embed blocks ?

Klaudioz avatar Jan 21 '22 21:01 Klaudioz

Thank you for taking the time to report the issue and help me to make the project better! 🙂

github-actions[bot] avatar Jan 21 '22 21:01 github-actions[bot]

I would love this feature also!

vnarek avatar Feb 26 '22 13:02 vnarek

After looking around, I'm afraid that this should be integrated in the Obsidian Plugin-API itself: https://forum.obsidian.md/t/obsidian-plugin-api-does-not-support-rendering-of-embeds/24617/3 You might upvote this thread to raise visibility.

One could create it for this plugin, but then, it could/should be also an entry point for the API...

pat-richter avatar Jun 10 '22 14:06 pat-richter

working on this too with dbfolder plugin https://github.com/RafaelGB/obsidian-db-folder/issues/136 Try MarkdownPreviewView.renderMarkdown instead of MarkdownRenderer

RafaelGB avatar Jun 17 '22 18:06 RafaelGB

Hi,i submitted a PR to improve this, and now it work for me。@pat-richter @Klaudioz

woltzz avatar Jul 10 '22 08:07 woltzz

@reuseman, this should be closed, yeah?

mrienstra avatar Aug 25 '22 18:08 mrienstra