more refining of permalink kind

This commit is contained in:
Biz 2025-03-31 20:58:58 +10:00
parent bf611d0ee2
commit 96c43d1168
1 changed files with 2 additions and 3 deletions

5
34.md
View File

@ -169,15 +169,14 @@ The Status of a patch-revision defaults to either that of the root-patch, or `16
Permalinks represent a link to one or more lines of a specific file in a repository. Client should render the content tag as preformatted text or can fetch and parse the original file's content for greater accuracy. Permalinks represent a link to one or more lines of a specific file in a repository. Client should render the content tag as preformatted text or can fetch and parse the original file's content for greater accuracy.
```json ```jsonc
{ {
"kind": 1623, "kind": 1623,
"content": "<referenced code or text>", "content": "<referenced code or text>",
"tags": [ "tags": [
["a", "30617:<base-repo-owner-pubkey>:<base-repo-id>"], ["a", "30617:<base-repo-owner-pubkey>:<base-repo-id>"],
["l", "markdown"], ["l", "markdown"],
["extension", "md"], ["repo", "https://github.com/nostr-protocol/nostr.git"],
["repo", "https://github.com/nostr-protocol/nostr"],
["branch", "permalink"], ["branch", "permalink"],
["refs/<heads|tags>/<branch-or-tag-name>","<commit-id>"] ["refs/<heads|tags>/<branch-or-tag-name>","<commit-id>"]
["file", "34.md"], ["file", "34.md"],