NIP-54: add c tag

This commit is contained in:
Asai Toshiya 2024-05-30 21:51:54 +09:00
parent 5c796c19fd
commit 7c40ef63dc
2 changed files with 2 additions and 0 deletions

1
54.md
View File

@ -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.
- `summary`: for display in lists.
- `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.

View File

@ -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) |
| `a` | coordinates to an event | relay URL | [01](01.md) |
| `d` | identifier | -- | [01](01.md) |
| `c` | category | -- | [54](54.md) |
| `g` | geohash | -- | [52](52.md) |
| `i` | identity | proof | [39](39.md) |
| `k` | kind number (string) | -- | [18](18.md), [25](25.md), [72](72.md) |