upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/84.md
diff options
context:
space:
mode:
authorWilliam Casarin <jb55@jb55.com>2025-04-17 08:55:17 -0700
committerGitHub <noreply@github.com>2025-04-17 12:55:17 -0300
commitc07643728293f53c06c7d6519f55fc37a7530271 (patch)
treef1626a761b514538605ec7a37e35d90bd83668a5 /84.md
parent45f6d598a19321a98592e1f4fdf0b40707871f26 (diff)
Quoted highlights (#1438)
Signed-off-by: William Casarin <jb55@jb55.com>
Diffstat (limited to '84.md')
-rw-r--r--84.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/84.md b/84.md
index e3063c2..ee416a5 100644
--- a/84.md
+++ b/84.md
@@ -40,3 +40,12 @@ last value of the tag.
40### Context 40### Context
41Clients MAY include a `context` tag, useful when the highlight is a subset of a paragraph and displaying the 41Clients MAY include a `context` tag, useful when the highlight is a subset of a paragraph and displaying the
42surrounding content might be beneficial to give context to the highlight. 42surrounding content might be beneficial to give context to the highlight.
43
44## Quote Highlights
45A `comment` tag may be added to create a quote highlight. This MUST be rendered like a quote repost with the highlight as the quoted note.
46
47This 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.
48
49p-tag mentions MUST have a `mention` attribute to distinguish it from authors and editors.
50
51r-tag urls from the comment MUST have a `mention` attribute to distinguish from the highlighted source url. The source url MUST have the `source` attribute.