Add support for Roam-style double bracket link syntax

This commit is contained in:
Maxime Vaillancourt
2020-05-30 13:12:51 -04:00
parent 84110177d8
commit a0b0b12e41
3 changed files with 13 additions and 5 deletions

View File

@@ -7,9 +7,10 @@ This is your first note.
To link to another note, use regular Markdown syntax for links, with a relative link to the other note, like this: [this is a link to a note about cats](/cats).
You can also use Roam-style link syntax by wrapping a note's title in double brackets, like this: [[A note about cats]]. If the Roam-style link does not point to a valid note's title, the double brackets will still be shown, like this: [[This note does not exist]].
Notice in the "Notes mentioning this note" section that there is another note linking to this note. This is a bi-directional link, and those are automatically created when you create links to other notes.
You can display images using Markdown's image tag, like this:
![]({{page.image}})
![]({{page.image}})