diff options
| author | Vitor Pamplona <vitor@vitorpamplona.com> | 2025-01-13 12:04:46 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-01-13 09:04:46 -0800 |
| commit | 0e3d1cd5d82754d0eb69ddb847f6532b4dade3be (patch) | |
| tree | b59e67b5ff3ebf5375ab8b112f9a2fcadd4fd0bc /10.md | |
| parent | 5b6ca881e24d5a6e089d3c577c6c7cab98bbb19d (diff) | |
Moves Kind:1 definition to NIP-10 (#1076)
Co-authored-by: Michael J <37635304+buttercat1791@users.noreply.github.com>
Diffstat (limited to '10.md')
| -rw-r--r-- | 10.md | 16 |
1 files changed, 12 insertions, 4 deletions
| @@ -1,14 +1,22 @@ | |||
| 1 | NIP-10 | 1 | NIP-10 |
| 2 | ====== | 2 | ====== |
| 3 | 3 | ||
| 4 | 4 | Text Notes and Threads | |
| 5 | On "e" and "p" tags in Text Events (kind 1) | 5 | ---------------------- |
| 6 | ------------------------------------------- | ||
| 7 | 6 | ||
| 8 | `draft` `optional` | 7 | `draft` `optional` |
| 9 | 8 | ||
| 9 | This NIP defines `kind:1` as a simple plaintext note. | ||
| 10 | |||
| 10 | ## Abstract | 11 | ## Abstract |
| 11 | This NIP describes how to use "e" and "p" tags in text events, especially those that are replies to other text events. It helps clients thread the replies into a tree rooted at the original event. | 12 | |
| 13 | This NIP describes how to use "e" and "p" tags in text events, especially those that are replies to other text events. It helps clients thread the replies into a tree rooted at the original event. | ||
| 14 | |||
| 15 | The `.content` property contains some human-readable text. | ||
| 16 | |||
| 17 | `e` and `p` tags can be used to define note threads, replies and mentions. | ||
| 18 | |||
| 19 | Markup languages such as markdown and HTML SHOULD NOT be used. | ||
| 12 | 20 | ||
| 13 | ## Marked "e" tags (PREFERRED) | 21 | ## Marked "e" tags (PREFERRED) |
| 14 | `["e", <event-id>, <relay-url>, <marker>, <pubkey>]` | 22 | `["e", <event-id>, <relay-url>, <marker>, <pubkey>]` |