1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-06-16 02:19:55 +00:00

Update Linking in WikiText.tid (#3064)

For clarity, the absolute file syntax needs to be added in the first section before relative links are shown.

All the examples from the top section should be echoed in the extended section.
This commit is contained in:
Furicle 2018-01-08 11:51:15 -05:00 committed by Jeremy Ruston
parent 6fa1602c2c
commit a3dae612fe

View File

@ -42,6 +42,8 @@ https://tiddlywiki.com/
[[TW5|https://tiddlywiki.com/]]
[[Mail me|mailto:me@where.net]]
[[Open file|c://users/me/index.html]]
```
For this syntax to work, the URL has to be recognisable as a URL. Otherwise, it is treated as a tiddler title. As a result, in case you want to link to a resource locatable using a relative path, use the extended syntax:
@ -60,6 +62,10 @@ The extended syntax still works with full URLs, although in that case it is not
[ext[https://tiddlywiki.com]]
[ext[TW5|https://tiddlywiki.com]]
[ext[Mail me|mailto:me@where.net]]
[ext[Open file|c://users/me/index.html]]
```
You can also use the extended syntax to force an external link: