1.1 KiB
1.1 KiB
notescraft-registry
Downloadable extras for NotesCraft: syntax grammars, plugins, themes and templates. The app reads index.json, then downloads one file on demand from the matching folder.
index.json
Four lists, one per folder: grammars, plugins, themes, templates. Every entry has:
| Field | Meaning |
|---|---|
name |
Unique id inside its list (lowercase, - allowed) |
title |
Display name |
aliases |
Other names the app should match (grammars: fence labels) |
file |
Path inside this repository |
size |
Bytes; the app rejects a file that differs |
sha256 |
Hex digest; the app rejects a file that differs |
license |
SPDX id; only redistributable work is added |
source |
Upstream URL |
Grammar entries also carry format (sublime-syntax, final format confirmed by the app prototype) and scope (for example source.zig).
{ "name": "zig", "title": "Zig", "aliases": ["zig"], "file": "grammars/zig.sublime-syntax",
"format": "sublime-syntax", "scope": "source.zig", "size": 31000,
"sha256": "<hex digest>", "license": "MIT", "source": "<upstream url>" }