JeppeKlitgaard / ObsidianAnkiBridge

Yet Another Obsidian Anki Bridge.
https://JeppeKlitgaard.github.io/ObsidianAnkiBridge/
MIT License
90 stars 12 forks source link

Render image in codeblock #20

Closed dennisseidel closed 1 year ago

dennisseidel commented 2 years ago

Great plugin and well done! :) One convenience feature I realized during my usage is:

I'd like to see that images included in codeblock cards render in the editor. E.g.

id: 1644017054779
---

## What Does a Program Do?

![[Pasted image 20220204021645.png]]

Renders as

image

I would be great if the plugin could display the image in the codeblock preview of the editor

Currently the workaround is to post the image again under the codeblock.

github-actions[bot] commented 2 years ago

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

Please be mindful that this is a hobby project and any support I am able to offer is done at the expense of my (often hard to come by) spare time.

JeppeKlitgaard commented 2 years ago

Hey @dennisseidel

Thank you for your kind words!

This is an issue I am aware of (and something that bothers me as well), and I was hoping a fix would be made directly in Obsidian quite soon – other embeds (Audio, Video) also suffer from the same problem.

For now you can try @nicojeske's PR and see if that works – I have an exam coming up soon, so I might not get around to merging before a couple of weeks from now.

JeppeKlitgaard commented 1 year ago

This has been fixed by @nicojeske and released in 0.8.0. Apologies for the wait!