On Pasting Images

Steps to reproduce

  1. on windows open “snipping Tool”
  2. capture random area of the screen to clipboard.
  3. Paste content of clipboard into editor using Ctrl+V
  4. Obsidian creates a file (e.g. “Pasted image 20201230102421.png”) an internal link (e.g. ![[Pasted image 20201230102421.png]]) and the image will be shown in the preview. [cool feature so far!] One can even add some alt text and sizing: ![[Pasted image 20201230102421.png|some alt text|300x200]]
  5. But: Using the syntax: ![some alt text|300x200](Pasted image 20201230102421.png) will not render the picture.

Expected result

I would expect the same preview in both syntaxes.

Actual result

Syntax ![some alt text|300x200](Pasted image 20201230102421.png) creates no output.


  • Operating system: Windows 10
  • Obsidian version: 0.10.1

Additional information

The spaces in the file name might be the source of the problem.

As far as I can gather, this is not a bug, your second syntax is just not correct. In the second case, your are creating a markdown link and an embed at the same time, which is not resolvable. The right embed syntax in Obsidian is ![[some-file-name|alias|resize parameters]].


![some alt text|300x400](Pasted%20Image%201.png)


![some alt text|300x400](<Pasted Image 1.png>)


![[Pasted Image 1.png|300x400]]

we don’t support other formats

1 Like