diff options
| author | fiatjaf <fiatjaf@gmail.com> | 2024-05-04 23:36:48 -0300 |
|---|---|---|
| committer | fiatjaf <fiatjaf@gmail.com> | 2024-05-04 23:36:48 -0300 |
| commit | 4fa65b81cede9eaf8375d4f92bc80cf298190e0c (patch) | |
| tree | 08d1a24332d4a6f1d6fe2bd31514cd13961eaac1 | |
| parent | c1360c4f0b111143747bad6226df6f00499f5cfe (diff) | |
nip54: fix json indentation.
| -rw-r--r-- | 54.md | 26 |
1 files changed, 13 insertions, 13 deletions
| @@ -13,11 +13,11 @@ Articles are identified by lowercase, normalized ascii `d` tags. | |||
| 13 | ### Articles | 13 | ### Articles |
| 14 | ```jsonc | 14 | ```jsonc |
| 15 | { | 15 | { |
| 16 | "content": "A wiki is a hypertext publication collaboratively edited and managed by its own audience.", | 16 | "content": "A wiki is a hypertext publication collaboratively edited and managed by its own audience.", |
| 17 | "tags": [ | 17 | "tags": [ |
| 18 | [ "d", "wiki" ], | 18 | ["d", "wiki"], |
| 19 | [ "title", "Wiki" ], | 19 | ["title", "Wiki"], |
| 20 | ] | 20 | ] |
| 21 | } | 21 | } |
| 22 | ``` | 22 | ``` |
| 23 | 23 | ||
| @@ -93,14 +93,14 @@ Users can request other users to get their entries merged into someone else's en | |||
| 93 | 93 | ||
| 94 | ```jsonc | 94 | ```jsonc |
| 95 | { | 95 | { |
| 96 | "content": "I added information about how to make hot ice-creams", | 96 | "content": "I added information about how to make hot ice-creams", |
| 97 | "kind": 818, | 97 | "kind": 818, |
| 98 | "tags": [ | 98 | "tags": [ |
| 99 | [ "a", "30818:<destination-pubkey>:hot-ice-creams", "<relay-url>" ], | 99 | [ "a", "30818:<destination-pubkey>:hot-ice-creams", "<relay-url>" ], |
| 100 | [ "e", "<version-against-which-the-modification-was-made>", "<relay-url>' ], | 100 | [ "e", "<version-against-which-the-modification-was-made>", "<relay-url>' ], |
| 101 | [ "p", "<destination-pubkey>" ], | 101 | [ "p", "<destination-pubkey>" ], |
| 102 | [ "e", "<version-to-be-merged>", "<relay-url>", "source" ] | 102 | [ "e", "<version-to-be-merged>", "<relay-url>", "source" ] |
| 103 | ] | 103 | ] |
| 104 | } | 104 | } |
| 105 | ``` | 105 | ``` |
| 106 | 106 | ||