What I’m trying to do
I’m trying to figure out how images are being rendered.
First of all, just to set the premise of my questions, Obsidian seems to be using a non-standard syntax. Instead of the usual  it is using ![[image.jpg]].
- Why the nonstandard synatx in the first place?
- Where does the alt text go?
- Why do these tags not include a path to the image? No matter where in the vault an image is located, it is always referenced without its path.
Why these questions?
I’m writing a web application that takes content from markdown files, and I thought it’d be cool to be able to use Obsidian to write. That’s kind of where Obsidian really shines: writing. And there’s a reason it uses markdown: portability.
Now as for question number 1 - sure enough there are a number of markdown dialects. I’m not trying to disarm the whole choice of dialect. The fact that it deviates from the defacto standard is disappointing, but it is what it is, and I can deal with the syntax as it is.
But, question 2, I must have an alt text somehow. Now I can’t figure out how to do that in Obsidian, but I’m probably looking with my bottom. I didn’t look very closely, and there’s almost definitely an alt text somewhere that writers can set. Or a title/tooltip or however Obsidian decides to render it. Some kind of text that belongs to an image that cannot be decoupled from it, so to speak.
As for 3 - this baffles me the most. How is Obsidian deciding where to “pull” the image from, if no path to it is ever specified. It’s almost like all images in the vault are broomed onto a giant vertical list, their paths being completely ignored, and then always referenced without path, drawing from this monolothic list. I wonder how that works when there are two files with the same filename - because that’s completely possible, at least on the filesystem.
Can someone please shed some light on this, and explain (or link to) some details on how this works exactly?