Support for glossaries
This commit is contained in:
parent
656ca588b1
commit
9d4907aa25
4 changed files with 13 additions and 3 deletions
4
bun.lock
4
bun.lock
|
@ -4,7 +4,7 @@
|
|||
"": {
|
||||
"name": "@proscenium/muse",
|
||||
"dependencies": {
|
||||
"@proscenium/playbill": "0.0.11",
|
||||
"@proscenium/playbill": "0.0.14",
|
||||
"chalk": "^5.4.1",
|
||||
"yaml": "^2.7.0",
|
||||
"zod": "^3.24.1",
|
||||
|
@ -37,7 +37,7 @@
|
|||
|
||||
"@biomejs/cli-win32-x64": ["@biomejs/cli-win32-x64@1.9.4", "", { "os": "win32", "cpu": "x64" }, "sha512-8Y5wMhVIPaWe6jw2H+KlEm4wP/f7EW3810ZLmDlrEEy5KvBsb9ECEfu/kMWD484ijfQ8+nIi0giMgu9g1UAuuA=="],
|
||||
|
||||
"@proscenium/playbill": ["@proscenium/playbill@0.0.11", "https://git.astral.camp/api/packages/proscenium/npm/%40proscenium%2Fplaybill/-/0.0.11/playbill-0.0.11.tgz", { "peerDependencies": { "typescript": "^5" } }, "sha512-pYq8kUvZSqFM9FSZ1DrifTOGR3ahQuCWG/3KkNWmbQHhEh8M+XHLVuQ+g4UwwaKN8U+HMcayXUOB1VFqBqKFXQ=="],
|
||||
"@proscenium/playbill": ["@proscenium/playbill@0.0.14", "https://git.astral.camp/api/packages/proscenium/npm/%40proscenium%2Fplaybill/-/0.0.14/playbill-0.0.14.tgz", { "peerDependencies": { "typescript": "^5" } }, "sha512-Fbo7IHTeRBDLwh6olETphh2duhMRrUx7dclFGT3VRhbCeCIqp+64N93M3fWlvOUrEyIU75WgpxkOz7FzfecAzg=="],
|
||||
|
||||
"@types/bun": ["@types/bun@1.2.3", "", { "dependencies": { "bun-types": "1.2.3" } }, "sha512-054h79ipETRfjtsCW9qJK8Ipof67Pw9bodFWmkfkaUaRiIQ1dIV2VTlheshlBx3mpKr0KeK8VqnMMCtgN9rQtw=="],
|
||||
|
||||
|
|
6
extend-me/terms.yaml
Normal file
6
extend-me/terms.yaml
Normal file
|
@ -0,0 +1,6 @@
|
|||
$define: glossary
|
||||
id: glossussy
|
||||
name: Definitions
|
||||
terms:
|
||||
something: Here is a definition
|
||||
"Something else": here is another
|
|
@ -14,7 +14,7 @@
|
|||
"chalk": "^5.4.1",
|
||||
"yaml": "^2.7.0",
|
||||
"zod": "^3.24.1",
|
||||
"@proscenium/playbill": "0.0.11"
|
||||
"@proscenium/playbill": "0.0.14"
|
||||
},
|
||||
"scripts": {
|
||||
"fmt": "bunx --bun biome check --fix",
|
||||
|
|
|
@ -120,6 +120,10 @@ export async function loadFromBinding(
|
|||
break;
|
||||
case "guide":
|
||||
playbill.guides.push(resource);
|
||||
break;
|
||||
case "glossary":
|
||||
playbill.glossaries.push(resource);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue