Markdown links in Obsidian: syntax, shortcuts and naming them automatically
Updated · PasteName team
Obsidian notes are plain Markdown, so a good link is just text: [Name](https://…). Here is everything you need for external links, plus a few gotchas.
The basic syntax
[Swift Evolution | Typed throws](https://github.com/swiftlang/swift-evolution/blob/main/proposals/0413-typed-throws.md)
Square brackets hold the text people see. Round brackets hold the URL. In reading view only the text shows, as a clickable link.
Shortcuts
- ⌘K inserts a Markdown link. With text selected, it wraps the selection in
[ ]and puts the cursor where the URL goes. - A bare URL such as
https://obsidian.mdis clickable too, but shows the whole address. - Angle brackets
<https://obsidian.md>make an explicit autolink.
Gotchas
URLs with spaces or brackets
A space or a closing bracket ends the URL early. Wrap the URL in angle brackets, [Doc](<https://example.com/my file.pdf>), or encode the space as %20.
Pipes inside tables
The | character separates table columns. A link text like Topic | part inside a table will split the cell. Escape it as \| inside tables.
Square brackets in the title
Page titles like “[Video] My trip” break the link text. Escape them as \[Video\] or remove them.
Wikilinks vs Markdown links
[[Note name]] wikilinks are for links between your own notes. For web pages, use Markdown links: they work everywhere, including GitHub, other editors and publishing tools. If you want internal links in Markdown form too, turn off Settings → Files and links → Use [[Wikilinks]].
Getting the page title without copying it by hand
The slow way: open the page, copy its title, type [, paste the title, type ](, paste the URL, type ). Community plugins can fetch titles inside Obsidian, but they only work in Obsidian.
PasteName works in every app. In Obsidian, VS Code, Bear and iA Writer it pastes [Name](URL) automatically when you press ⌘V, with a short AI-written name instead of the full page title. Brackets in titles are escaped and spaces in URLs are encoded for you. Press ⌥⌘V when you want the bare URL.