Skip to content
nexlore

Markdown from scratch · Chapter 4

Links and pictures

A link in Markdown has two parts, the text in square brackets and the target in round brackets right after it. You write a picture the same way, just with an exclamation mark in front.

Linking to a web page

How you write it
The recipe comes from [my favourite site](https://example.com/bread).
How it looks

The recipe comes from my favourite site.

An address that starts with https:// becomes a link even without brackets. If you put angle brackets around it, it stays safely together, even when a punctuation mark follows right after.

How you write it
More at https://example.com or <https://example.com/faq>.

Linking to a file in your vault

The target can also be a file in your vault, with a path that starts from the note. You write spaces in the name as %20.

How you write it
See [the ingredient list](Bread%20ingredients.md).
How it looks

Between notes, wiki links like [[Bread ingredients]] are much more comfortable, and they have a chapter of their own, Wiki links. nexlore updates both kinds of links when you rename a note.

Putting pictures into a note

The text in square brackets describes the picture for everyone who can't see it. Usually the picture lives in the Attachments folder next to the note.

How you write it
![A loaf of sourdough bread](Attachments/bread.webp)
How it looks

Lore saysYou don't have to link pictures by hand. Just drag them into the editor or paste them with Ctrl + V, and nexlore takes care of the rest. How exactly that works is explained under Attachments.

You writeYou get
[text](https://example.com)a link with its own text
<https://example.com>the address as a link
[text](Folder/Note.md)a link to a file in the vault
![description](picture.png)the picture