allow for using - and _ in the links
This commit is contained in:
committed by
Maxime Vaillancourt
parent
a09b2dc505
commit
59b4652c61
@@ -17,6 +17,8 @@ To link to another note, you can use multiple syntaxes. The following four use t
|
||||
|
||||
Non-latin languages are supported too: [[안녕하세요]].
|
||||
|
||||
Dashes and underscores in file names are supported, and may be omitted in the bracket link syntax. As an example, the `your-first-note.md` file can be linked to with [[your first note]] or [[your-first-note]], or even [[yOuR-FiRsT Note]].
|
||||
|
||||
In all cases, if the double-bracket link does not point to a valid note, the double brackets will still be shown, like this: [[there is no note that matches this link]].
|
||||
|
||||
Alternatively, you can use regular [Markdown syntax](https://www.markdownguide.org/getting-started/) for links, with a relative link to the other note, like this: [this is a Markdown link to the note about cats](/cats){: .internal-link}. Don't forget to use the `.internal-link` class to make sure the link is styled as an internal link (without the little arrow).
|
||||
|
||||
Reference in New Issue
Block a user