Update 23.md

Co-authored-by: mplorentz <mplorentz@users.noreply.github.com>
This commit is contained in:
fiatjaf 2023-02-06 15:10:50 -03:00 committed by GitHub
parent 694f2f056e
commit e939751f04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
23.md
View File

@ -35,7 +35,7 @@ The article may be linked to using the NIP-19 `nitem` code along with the `"i"`
### References
Writing clients should implement support for parsing pasted NIP-19 `nitem` identifiers and adding them automatically to the list of `.tags` of the event, replacing the actual content with a string like `#[tag_index]` in the same way as NIP-08 -- or, if the reference is in the form of a URL (for example, `[click here](nitem1...)`) then they should be replaced with just the tag number directly as if link with that name existed at the bottom of the Markdown (for example, `[click here][0]`).
Clients that support publishing NIP-23 events should implement support for parsing pasted NIP-19 `nitem` identifiers and adding them automatically to the list of `.tags` of the event, replacing the actual content with a string like `#[tag_index]` in the same way as NIP-08 -- or, if the reference is in the form of a URL (for example, `[click here](nitem1...)`) then they should be replaced with just the tag number directly as if link with that name existed at the bottom of the Markdown (for example, `[click here][0]`).
Reader clients should parse the Markdown and replace these references with either internal links so the referenced events can be accessed directly, with NIP-21 `nostr:nitem1...` links or direct links to web clients that will handle these references.