upleb.uk

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

summaryrefslogtreecommitdiff
path: root/10.md
diff options
context:
space:
mode:
authorVitor Pamplona <vitor@vitorpamplona.com>2025-01-13 12:04:46 -0500
committerGitHub <noreply@github.com>2025-01-13 09:04:46 -0800
commit0e3d1cd5d82754d0eb69ddb847f6532b4dade3be (patch)
treeb59e67b5ff3ebf5375ab8b112f9a2fcadd4fd0bc /10.md
parent5b6ca881e24d5a6e089d3c577c6c7cab98bbb19d (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.md16
1 files changed, 12 insertions, 4 deletions
diff --git a/10.md b/10.md
index c1d5068..064e56a 100644
--- a/10.md
+++ b/10.md
@@ -1,14 +1,22 @@
1NIP-10 1NIP-10
2====== 2======
3 3
4 4Text Notes and Threads
5On "e" and "p" tags in Text Events (kind 1) 5----------------------
6-------------------------------------------
7 6
8`draft` `optional` 7`draft` `optional`
9 8
9This NIP defines `kind:1` as a simple plaintext note.
10
10## Abstract 11## Abstract
11This 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
13This 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
15The `.content` property contains some human-readable text.
16
17`e` and `p` tags can be used to define note threads, replies and mentions.
18
19Markup 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>]`