upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/54.md
diff options
context:
space:
mode:
authorfiatjaf <fiatjaf@gmail.com>2024-05-25 09:46:46 -0300
committerfiatjaf <fiatjaf@gmail.com>2024-05-25 09:46:46 -0300
commit92d5837b0cf474503b9ebdf2676ba266fc265bdd (patch)
treead0ddfdae214f09467d0366b2018c71b233d29a6 /54.md
parent5d1d1c178ec1761bac4867f69ae1c59bc7c0ca37 (diff)
nip54: clarify wikilink format.
Diffstat (limited to '54.md')
-rw-r--r--54.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/54.md b/54.md
index 8823af9..fe46918 100644
--- a/54.md
+++ b/54.md
@@ -36,6 +36,11 @@ The content should be Markdown, following the same rules as of [NIP-23](23.md),
36 36
37One extra functionality is added: **wikilinks**. Unlike normal Markdown links `[]()` that link to webpages, wikilinks `[[]]` link to other articles in the wiki. In this case, the wiki is the entirety of Nostr. Clicking on a wikilink should cause the client to ask relays for events with `d` tags equal to the target of that wikilink. 37One extra functionality is added: **wikilinks**. Unlike normal Markdown links `[]()` that link to webpages, wikilinks `[[]]` link to other articles in the wiki. In this case, the wiki is the entirety of Nostr. Clicking on a wikilink should cause the client to ask relays for events with `d` tags equal to the target of that wikilink.
38 38
39Wikilinks can take these two forms:
40
41 1. `[[Target Page]]` -- in this case it will link to the page `target-page` (according to `d` tag normalization rules above) and be displayed as `Target Page`;
42 2. `[[target page|see this]]` -- in this case it will link to the page `target-page`, but will be displayed as `see this`.
43
39### Merge Requests 44### Merge Requests
40 45
41Event `kind:818` represents a request to merge from a forked article into the source. It is directed to a pubkey and references the original article and the modified event. 46Event `kind:818` represents a request to merge from a forked article into the source. It is directed to a pubkey and references the original article and the modified event.