diff options
| author | William Casarin <jb55@jb55.com> | 2025-04-17 08:55:17 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-04-17 12:55:17 -0300 |
| commit | c07643728293f53c06c7d6519f55fc37a7530271 (patch) | |
| tree | f1626a761b514538605ec7a37e35d90bd83668a5 | |
| parent | 45f6d598a19321a98592e1f4fdf0b40707871f26 (diff) | |
Quoted highlights (#1438)
Signed-off-by: William Casarin <jb55@jb55.com>
| -rw-r--r-- | 84.md | 9 |
1 files changed, 9 insertions, 0 deletions
| @@ -40,3 +40,12 @@ last value of the tag. | |||
| 40 | ### Context | 40 | ### Context |
| 41 | Clients MAY include a `context` tag, useful when the highlight is a subset of a paragraph and displaying the | 41 | Clients MAY include a `context` tag, useful when the highlight is a subset of a paragraph and displaying the |
| 42 | surrounding content might be beneficial to give context to the highlight. | 42 | surrounding content might be beneficial to give context to the highlight. |
| 43 | |||
| 44 | ## Quote Highlights | ||
| 45 | A `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 | |||
| 47 | 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. | ||
| 48 | |||
| 49 | p-tag mentions MUST have a `mention` attribute to distinguish it from authors and editors. | ||
| 50 | |||
| 51 | r-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. | ||