nip54: fix json indentation.

This commit is contained in:
fiatjaf 2024-05-04 23:36:48 -03:00
parent c1360c4f0b
commit 4fa65b81ce

26
54.md
View File

@ -13,11 +13,11 @@ Articles are identified by lowercase, normalized ascii `d` tags.
### Articles ### Articles
```jsonc ```jsonc
{ {
"content": "A wiki is a hypertext publication collaboratively edited and managed by its own audience.", "content": "A wiki is a hypertext publication collaboratively edited and managed by its own audience.",
"tags": [ "tags": [
[ "d", "wiki" ], ["d", "wiki"],
[ "title", "Wiki" ], ["title", "Wiki"],
] ]
} }
``` ```
@ -93,14 +93,14 @@ Users can request other users to get their entries merged into someone else's en
```jsonc ```jsonc
{ {
"content": "I added information about how to make hot ice-creams", "content": "I added information about how to make hot ice-creams",
"kind": 818, "kind": 818,
"tags": [ "tags": [
[ "a", "30818:<destination-pubkey>:hot-ice-creams", "<relay-url>" ], [ "a", "30818:<destination-pubkey>:hot-ice-creams", "<relay-url>" ],
[ "e", "<version-against-which-the-modification-was-made>", "<relay-url>' ], [ "e", "<version-against-which-the-modification-was-made>", "<relay-url>' ],
[ "p", "<destination-pubkey>" ], [ "p", "<destination-pubkey>" ],
[ "e", "<version-to-be-merged>", "<relay-url>", "source" ] [ "e", "<version-to-be-merged>", "<relay-url>", "source" ]
] ]
} }
``` ```