mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 08:55:52 -05:00
NIP-54: add c
tag
This commit is contained in:
parent
5c796c19fd
commit
7c40ef63dc
1
54.md
1
54.md
|
@ -33,6 +33,7 @@ The content should be Markdown, following the same rules as of [NIP-23](23.md),
|
||||||
- `title`: for when the display title should be different from the `d` tag.
|
- `title`: for when the display title should be different from the `d` tag.
|
||||||
- `summary`: for display in lists.
|
- `summary`: for display in lists.
|
||||||
- `a` and `e`: for referencing the original event a wiki article was forked from.
|
- `a` and `e`: for referencing the original event a wiki article was forked from.
|
||||||
|
- `c`: for the wiki category.
|
||||||
|
|
||||||
One 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.
|
One 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.
|
||||||
|
|
||||||
|
|
|
@ -233,6 +233,7 @@ Please update these lists when proposing NIPs introducing new event kinds.
|
||||||
| `p` | pubkey (hex) | relay URL, petname | [01](01.md), [02](02.md) |
|
| `p` | pubkey (hex) | relay URL, petname | [01](01.md), [02](02.md) |
|
||||||
| `a` | coordinates to an event | relay URL | [01](01.md) |
|
| `a` | coordinates to an event | relay URL | [01](01.md) |
|
||||||
| `d` | identifier | -- | [01](01.md) |
|
| `d` | identifier | -- | [01](01.md) |
|
||||||
|
| `c` | category | -- | [54](54.md) |
|
||||||
| `g` | geohash | -- | [52](52.md) |
|
| `g` | geohash | -- | [52](52.md) |
|
||||||
| `i` | identity | proof | [39](39.md) |
|
| `i` | identity | proof | [39](39.md) |
|
||||||
| `k` | kind number (string) | -- | [18](18.md), [25](25.md), [72](72.md) |
|
| `k` | kind number (string) | -- | [18](18.md), [25](25.md), [72](72.md) |
|
||||||
|
|
Loading…
Reference in New Issue
Block a user