mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-09-19 22:35:50 -04:00
Quoted highlights
This is to prevent the creation and multiple notes (highlight + kind 1) for a single highlight action, which looks bad in micro-blogging clients where these notes may appear in succession. Signed-off-by: William Casarin <jb55@jb55.com>
This commit is contained in:
parent
c7a357285d
commit
374ab01f0c
7
84.md
7
84.md
|
@ -40,3 +40,10 @@ last value of the tag.
|
||||||
### Context
|
### Context
|
||||||
Clients MAY include a `context` tag, useful when the highlight is a subset of a paragraph and displaying the
|
Clients MAY include a `context` tag, useful when the highlight is a subset of a paragraph and displaying the
|
||||||
surrounding content might be beneficial to give context to the highlight.
|
surrounding content might be beneficial to give context to the highlight.
|
||||||
|
|
||||||
|
## Quote Highlights
|
||||||
|
A `comment` tag may be added to create a quote highlight. This should be rendered like a quote repost with the highlight as the quoted note.
|
||||||
|
|
||||||
|
This is to prevent the creation and multiple notes (highlight + kind 1) for a single highlight action, which looks bad in micro-blogging clients where these notes may appear in succession.
|
||||||
|
|
||||||
|
p-tag mentions should have a `mention` attribute to distinguish it from authors and editors.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user