ObsidianToAnki / Obsidian_to_Anki

Script to add flashcards from text/markdown files to Anki
GNU General Public License v3.0
1.56k stars 137 forks source link

Pasted images not showing in Anki #84

Closed uuuser-name closed 4 years ago

uuuser-name commented 4 years ago

When I paste an image in Obsidian, the image doesn't show up in Anki. Only the wiki image link does ("![[image.jpg]]"). Tried using images from internet (copy-paste and drag-and-drop), and local images.

Pasted image in Obsidian (Edit mode) pasted image in obsidian edit mode

Pasted image in Obsidian (Preview mode), the image shows up pasted image in obsidian preview mode

Pasted image not showing up in Anki (during review) pasted image not showing up in anki review

Pasted image not showing up in Anki (in the browser) pasted image not showing up in anki browser

On Windows 10 Pro 1903 Using Python 3.7.0 (because the script crashes with older versions because of dependency problems) Using the remnote syntax + custom syntax [3 colons = Basic (and reversed)] (tested with the proposed syntax, doesn't work either)

Raagaception commented 4 years ago

You need to use the standard markdown syntax for image embeds! https://github.com/Pseudonium/Obsidian_to_Anki#image-formatting

uuuser-name commented 4 years ago

You need to use the standard markdown syntax for image embeds! https://github.com/Pseudonium/Obsidian_to_Anki#image-formatting

Oh, thanks a lot. Solved. For those struggling with this issue, you need to activate the "Use Markdown links" option in Settings/Editor.