js,json -> jsonc

This commit is contained in:
hakkadaikon
2024-11-18 02:33:29 +09:00
committed by fiatjaf_
parent ac60e1d662
commit f3244a0903
6 changed files with 17 additions and 17 deletions

14
22.md
View File

@@ -13,7 +13,7 @@ It uses `kind:1111` with plaintext `.content` (no HTML, Markdown, or other forma
Comments MUST point to the root scope using uppercase tag names (e.g. `K`, `E`, `A` or `I`)
and MUST point to the parent item with lowercase ones (e.g. `k`, `e`, `a` or `i`).
```js
```jsonc
{
kind: 1111,
content: '<comment>',
@@ -56,7 +56,7 @@ If the parent item is an event, a `p` tag set to the parent event's author SHOUL
A comment on a blog post looks like this:
```js
```jsonc
{
kind: 1111,
content: 'Great blog post!',
@@ -79,7 +79,7 @@ A comment on a blog post looks like this:
A comment on a [NIP-94](94.md) file looks like this:
```js
```jsonc
{
kind: 1111,
content: 'Great file!',
@@ -100,7 +100,7 @@ A comment on a [NIP-94](94.md) file looks like this:
A reply to a comment looks like this:
```js
```jsonc
{
kind: 1111,
content: 'This is a reply to "Great file!"',
@@ -121,7 +121,7 @@ A reply to a comment looks like this:
A comment on a website's url looks like this:
```js
```jsonc
{
kind: 1111,
content: 'Nice article!',
@@ -142,7 +142,7 @@ A comment on a website's url looks like this:
A podcast comment example:
```js
```jsonc
{
id: "80c48d992a38f9c445b943a9c9f1010b396676013443765750431a9004bdac05",
pubkey: "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111",
@@ -164,7 +164,7 @@ A podcast comment example:
A reply to a podcast comment:
```js
```jsonc
{
kind: 1111,
content: "I'm replying to the above comment.",