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:
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>]`