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.
```json
```jsonc
{
"kind": 1623,
"content": "<referenced code or text>",
"tags": [
["a", "30617:<base-repo-owner-pubkey>:<base-repo-id>"],
["l", "markdown"],
["extension", "md"],
["repo", "https://github.com/nostr-protocol/nostr"],
["repo", "https://github.com/nostr-protocol/nostr.git"],
["branch", "permalink"],
["refs/<heads|tags>/<branch-or-tag-name>","<commit-id>"]
["file", "34.md"],