diff options
| author | hakkadaikon <hakkadaikon@yahoo.co.jp> | 2024-11-18 02:33:29 +0900 |
|---|---|---|
| committer | fiatjaf_ <fiatjaf@gmail.com> | 2024-11-17 18:34:48 -0300 |
| commit | f3244a0903b1fedbd8aa89596c658c9529e19ea6 (patch) | |
| tree | 5a449780b3389cbea86a1993e6ed909f19b41e3b /22.md | |
| parent | ac60e1d6628164e6af262aec93c311cbef7d8063 (diff) | |
js,json -> jsonc
Diffstat (limited to '22.md')
| -rw-r--r-- | 22.md | 14 |
1 files changed, 7 insertions, 7 deletions
| @@ -13,7 +13,7 @@ It uses `kind:1111` with plaintext `.content` (no HTML, Markdown, or other forma | |||
| 13 | Comments MUST point to the root scope using uppercase tag names (e.g. `K`, `E`, `A` or `I`) | 13 | Comments MUST point to the root scope using uppercase tag names (e.g. `K`, `E`, `A` or `I`) |
| 14 | and MUST point to the parent item with lowercase ones (e.g. `k`, `e`, `a` or `i`). | 14 | and MUST point to the parent item with lowercase ones (e.g. `k`, `e`, `a` or `i`). |
| 15 | 15 | ||
| 16 | ```js | 16 | ```jsonc |
| 17 | { | 17 | { |
| 18 | kind: 1111, | 18 | kind: 1111, |
| 19 | content: '<comment>', | 19 | content: '<comment>', |
| @@ -56,7 +56,7 @@ If the parent item is an event, a `p` tag set to the parent event's author SHOUL | |||
| 56 | 56 | ||
| 57 | A comment on a blog post looks like this: | 57 | A comment on a blog post looks like this: |
| 58 | 58 | ||
| 59 | ```js | 59 | ```jsonc |
| 60 | { | 60 | { |
| 61 | kind: 1111, | 61 | kind: 1111, |
| 62 | content: 'Great blog post!', | 62 | content: 'Great blog post!', |
| @@ -79,7 +79,7 @@ A comment on a blog post looks like this: | |||
| 79 | 79 | ||
| 80 | A comment on a [NIP-94](94.md) file looks like this: | 80 | A comment on a [NIP-94](94.md) file looks like this: |
| 81 | 81 | ||
| 82 | ```js | 82 | ```jsonc |
| 83 | { | 83 | { |
| 84 | kind: 1111, | 84 | kind: 1111, |
| 85 | content: 'Great file!', | 85 | content: 'Great file!', |
| @@ -100,7 +100,7 @@ A comment on a [NIP-94](94.md) file looks like this: | |||
| 100 | 100 | ||
| 101 | A reply to a comment looks like this: | 101 | A reply to a comment looks like this: |
| 102 | 102 | ||
| 103 | ```js | 103 | ```jsonc |
| 104 | { | 104 | { |
| 105 | kind: 1111, | 105 | kind: 1111, |
| 106 | content: 'This is a reply to "Great file!"', | 106 | content: 'This is a reply to "Great file!"', |
| @@ -121,7 +121,7 @@ A reply to a comment looks like this: | |||
| 121 | 121 | ||
| 122 | A comment on a website's url looks like this: | 122 | A comment on a website's url looks like this: |
| 123 | 123 | ||
| 124 | ```js | 124 | ```jsonc |
| 125 | { | 125 | { |
| 126 | kind: 1111, | 126 | kind: 1111, |
| 127 | content: 'Nice article!', | 127 | content: 'Nice article!', |
| @@ -142,7 +142,7 @@ A comment on a website's url looks like this: | |||
| 142 | 142 | ||
| 143 | A podcast comment example: | 143 | A podcast comment example: |
| 144 | 144 | ||
| 145 | ```js | 145 | ```jsonc |
| 146 | { | 146 | { |
| 147 | id: "80c48d992a38f9c445b943a9c9f1010b396676013443765750431a9004bdac05", | 147 | id: "80c48d992a38f9c445b943a9c9f1010b396676013443765750431a9004bdac05", |
| 148 | pubkey: "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", | 148 | pubkey: "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111", |
| @@ -164,7 +164,7 @@ A podcast comment example: | |||
| 164 | 164 | ||
| 165 | A reply to a podcast comment: | 165 | A reply to a podcast comment: |
| 166 | 166 | ||
| 167 | ```js | 167 | ```jsonc |
| 168 | { | 168 | { |
| 169 | kind: 1111, | 169 | kind: 1111, |
| 170 | content: "I'm replying to the above comment.", | 170 | content: "I'm replying to the above comment.", |