mirror of
https://github.com/nostr-protocol/nips.git
synced 2025-12-08 16:18:50 +00:00
nip22: fix example type for external URL (#2011)
This commit is contained in:
8
22.md
8
22.md
@@ -143,13 +143,13 @@ A comment on a website's url looks like this:
|
|||||||
"tags": [
|
"tags": [
|
||||||
// referencing the root url
|
// referencing the root url
|
||||||
["I", "https://abc.com/articles/1"],
|
["I", "https://abc.com/articles/1"],
|
||||||
// the root "kind": for an url, the kind is its domain
|
// the root "kind": for an url
|
||||||
["K", "https://abc.com"],
|
["K", "web"],
|
||||||
|
|
||||||
// the parent reference (same as root for top-level comments)
|
// the parent reference (same as root for top-level comments)
|
||||||
["i", "https://abc.com/articles/1"],
|
["i", "https://abc.com/articles/1"],
|
||||||
// the parent "kind": for an url, the kind is its domain
|
// the parent "kind": for an url
|
||||||
["k", "https://abc.com"]
|
["k", "web"]
|
||||||
]
|
]
|
||||||
// other fields
|
// other fields
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user