Here you can find the technical intricacies of the Obsidian-specific language extension.
Back to the main page.
Obsidian uses quick-links like so:
# The next line will insert a link to a file.
[[md-file-name-without-extension]]
# The next line will insert an image.
![[image-file-name-with-extension]]
In order to be able to do that, you are not allowed to have two files with the exact same file-name within a vault. Even if they are located in different directories.
Same goes for images and other assets.
If you have two files, for example, named test
, then you'll have to add the complete path in links to any of the two test
files.
So plan your file-names carefully. You'll be rewarded with a much faster and smoother editing-experience.
Contrary to GitHub or standard MD, Obsidian supports callouts, which are basically colorfully rendered boxes with headings and content (cards, one might say). Those look great, especially when dealing with long text-flow or when interspersing text with info-points or homework-reminders.
Examples:
# A note.
> [!note]
> content
# A Warning with 'BOO!' in the heading, instead of the default 'Warning'.
>[!warning] BOO!
>content
# A collapsable callout
>[!tip]-
>content
# A collapsable callout with 'some long text' as heading.
>[!quote]- some long text
>content
You get the idea. You can see all the variations here.
They all work with one exception:
The renderer will never touch the image's size, until it won't fit the display. If that occurs, it will just resize it proportionally to fit it.
To display images at a special size, you have the following options.
Those work on normal image-links, like the standard DM ones and the shortcut-links Obsidian
provides.
# Display in 200x200 pixels (x + 'x' + y)

# And as short-link
![[my-img.png|200x200]]
# Display in 200 pixels widths, sized proportionally

# And as short-link
![[my-img.png|120]]