diff options
Diffstat (limited to '27.md')
| -rw-r--r-- | 27.md | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -4,7 +4,7 @@ NIP-27 | |||
| 4 | Text Note References | 4 | Text Note References |
| 5 | -------------------- | 5 | -------------------- |
| 6 | 6 | ||
| 7 | `draft` `optional` `author:arthurfranca` `author:hodlbod` `author:fiatjaf` | 7 | `draft` `optional` |
| 8 | 8 | ||
| 9 | This document standardizes the treatment given by clients of inline references of other events and profiles inside the `.content` of any event that has readable text in its `.content` (such as kinds 1 and 30023). | 9 | This document standardizes the treatment given by clients of inline references of other events and profiles inside the `.content` of any event that has readable text in its `.content` (such as kinds 1 and 30023). |
| 10 | 10 | ||
| @@ -20,7 +20,7 @@ A reader client that receives an event with such `nostr:...` mentions in its `.c | |||
| 20 | 20 | ||
| 21 | Suppose Bob is writing a note in a client that has search-and-autocomplete functionality for users that is triggered when they write the character `@`. | 21 | Suppose Bob is writing a note in a client that has search-and-autocomplete functionality for users that is triggered when they write the character `@`. |
| 22 | 22 | ||
| 23 | As Bob types `"hello @mat"` the client will prompt him to autocomplete with [mattn's profile](https://gateway.nostr.com/p/2c7cc62a697ea3a7826521f3fd34f0cb273693cbe5e9310f35449f43622a5cdc), showing a picture and name. | 23 | As Bob types `"hello @mat"` the client will prompt him to autocomplete with [mattn's profile](https://njump.me/npub1937vv2nf06360qn9y8el6d8sevnndy7tuh5nzre4gj05xc32tnwqauhaj6), showing a picture and name. |
| 24 | 24 | ||
| 25 | Bob presses "enter" and now he sees his typed note as `"hello @mattn"`, `@mattn` is highlighted, indicating that it is a mention. Internally, however, the event looks like this: | 25 | Bob presses "enter" and now he sees his typed note as `"hello @mattn"`, `@mattn` is highlighted, indicating that it is a mention. Internally, however, the event looks like this: |
| 26 | 26 | ||