upleb.uk

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

summaryrefslogtreecommitdiff
path: root/25.md
diff options
context:
space:
mode:
authorkehiy <kehiiiiya@gmail.com>2024-09-03 20:41:31 +0330
committerkehiy <kehiiiiya@gmail.com>2024-09-03 20:41:31 +0330
commite6552476aa2e5ca7256be572a9aa226ec8a022ee (patch)
tree46f14902bd2bfb85e5f3369ece456c46b697b1a2 /25.md
parentb4a2561df7325b8624bc5ffad154ec946ade2f1e (diff)
format(all): json formatting
Diffstat (limited to '25.md')
-rw-r--r--25.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/25.md b/25.md
index f038603..671c55f 100644
--- a/25.md
+++ b/25.md
@@ -57,14 +57,14 @@ Reactions to a website
57 57
58If the target of the reaction is a website, the reaction MUST be a `kind 17` event and MUST include an `r` tag with the website's URL. 58If the target of the reaction is a website, the reaction MUST be a `kind 17` event and MUST include an `r` tag with the website's URL.
59 59
60```json 60```jsonc
61{ 61{
62 "kind": 17, 62 "kind": 17,
63 "content": "⭐", 63 "content": "⭐",
64 "tags": [ 64 "tags": [
65 ["r", "https://example.com/"] 65 ["r", "https://example.com/"]
66 ], 66 ],
67 ...other fields 67 // other fields...
68} 68}
69``` 69```
70 70
@@ -79,14 +79,14 @@ The client may specify a custom emoji ([NIP-30](30.md)) `:shortcode:` in the
79reaction content. The client should refer to the emoji tag and render the 79reaction content. The client should refer to the emoji tag and render the
80content as an emoji if shortcode is specified. 80content as an emoji if shortcode is specified.
81 81
82```json 82```jsonc
83{ 83{
84 "kind": 7, 84 "kind": 7,
85 "content": ":soapbox:", 85 "content": ":soapbox:",
86 "tags": [ 86 "tags": [
87 ["emoji", "soapbox", "https://gleasonator.com/emoji/Gleasonator/soapbox.png"] 87 ["emoji", "soapbox", "https://gleasonator.com/emoji/Gleasonator/soapbox.png"]
88 ], 88 ],
89 ...other fields 89 // other fields...
90} 90}
91``` 91```
92 92