diff options
| author | hodlbod <jstaab@protonmail.com> | 2024-09-03 13:56:56 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-03 13:56:56 -0700 |
| commit | c02b161d9ed8f2edb7633b467ad2dd25252ed55c (patch) | |
| tree | 0a9198bac9d1976cf0744c30516400ee5cff26aa /34.md | |
| parent | 378dfaa5dbf44bd1f17fd70f8727b636b7c99239 (diff) | |
| parent | c8dc1eadffe0ff894ec39e291c5b28bb18e6db9e (diff) | |
Merge pull request #1477 from kehiy/jsonc
format(all): JSON formatting
Diffstat (limited to '34.md')
| -rw-r--r-- | 34.md | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -106,7 +106,7 @@ The first patch in a series MAY be a cover letter in the format produced by `git | |||
| 106 | 106 | ||
| 107 | Issues are Markdown text that is just human-readable conversational threads related to the repository: bug reports, feature requests, questions or comments of any kind. Like patches, these SHOULD be sent to the relays specified in that repository's announcement event's `"relays"` tag. | 107 | Issues are Markdown text that is just human-readable conversational threads related to the repository: bug reports, feature requests, questions or comments of any kind. Like patches, these SHOULD be sent to the relays specified in that repository's announcement event's `"relays"` tag. |
| 108 | 108 | ||
| 109 | ```jsonc | 109 | ```json |
| 110 | { | 110 | { |
| 111 | "kind": 1621, | 111 | "kind": 1621, |
| 112 | "content": "<markdown text>", | 112 | "content": "<markdown text>", |
| @@ -132,8 +132,9 @@ Replies are also Markdown text. The difference is that they MUST be issued as re | |||
| 132 | // other "e" and "p" tags should be applied here when necessary, following the threading rules of NIP-10 | 132 | // other "e" and "p" tags should be applied here when necessary, following the threading rules of NIP-10 |
| 133 | ["p", "<patch-author-pubkey-hex>", "", "mention"], | 133 | ["p", "<patch-author-pubkey-hex>", "", "mention"], |
| 134 | ["e", "<previous-reply-id-hex>", "", "reply"], | 134 | ["e", "<previous-reply-id-hex>", "", "reply"], |
| 135 | // ... | 135 | // rest of tags... |
| 136 | ] | 136 | ], |
| 137 | // other fields... | ||
| 137 | } | 138 | } |
| 138 | ``` | 139 | ``` |
| 139 | 140 | ||