{"_id":"@calpano/ddot-shiki","_rev":"2-2af6762e3c4bab5a9f1467e89409a301","name":"@calpano/ddot-shiki","dist-tags":{"latest":"0.1.1"},"versions":{"0.1.0":{"name":"@calpano/ddot-shiki","version":"0.1.0","keywords":["ddot.it","shiki","syntax-highlighting","textmate","knowledge-graph"],"license":"MIT","_id":"@calpano/ddot-shiki@0.1.0","maintainers":[{"name":"xamde","email":"support@calpano.com"}],"homepage":"https://ddot.it","bugs":{"url":"https://github.com/Calpano/ddot.it-syntax-tools/issues"},"dist":{"shasum":"5f1f2a20454ee6f1f82542cb47232ae05899e83d","tarball":"https://registry.npmjs.org/@calpano/ddot-shiki/-/ddot-shiki-0.1.0.tgz","fileCount":3,"integrity":"sha512-KhqmatSjR15ERYqTRjRvAzs9TxH8R/svFvvWmlk191E6SEYuznxBL01TxWQSd21zRLowWfehkOaIieQNJ/qi2g==","signatures":[{"sig":"MEQCICllwz2X8JDC6X00GMyvxCRWG80epVemTUhkFhfN/Y2QAiACgoVnqZ0uPVCEUaek7Olk+F62uA2GBSlbngC+YBNzgw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3736},"main":"./index.js","type":"module","exports":{".":"./index.js"},"gitHead":"2bb1bd28555bb0d500e347f3d83a04707985b33c","_npmUser":{"name":"xamde","email":"support@calpano.com"},"repository":{"url":"git+https://github.com/Calpano/ddot.it-syntax-tools.git","type":"git","directory":"shiki"},"_npmVersion":"11.12.1","description":"Shiki language registration for ddot.it (Knowledge Graph Notation). Wraps @calpano/ddot-textmate-grammar so any Shiki highlighter can pick up ddot.it.","directories":{},"_nodeVersion":"25.9.0","dependencies":{"@calpano/ddot-textmate-grammar":"^0.1.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"peerDependencies":{"shiki":">=1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ddot-shiki_0.1.0_1778233793235_0.40419004568589334","host":"s3://npm-registry-packages-npm-production"}},"0.1.1":{"name":"@calpano/ddot-shiki","version":"0.1.1","description":"Shiki language registration for ddot.it (Knowledge Graph Notation). Wraps @calpano/ddot-textmate-grammar so any Shiki highlighter can pick up ddot.it.","license":"MIT","type":"module","main":"./index.js","exports":{".":"./index.js"},"keywords":["ddot.it","shiki","syntax-highlighting","textmate","knowledge-graph"],"dependencies":{"@calpano/ddot-textmate-grammar":"^0.1.0"},"peerDependencies":{"shiki":">=1.0.0"},"repository":{"type":"git","url":"git+https://github.com/Calpano/ddot.it-syntax-tools.git","directory":"shiki"},"homepage":"https://ddot.it","publishConfig":{"access":"public"},"gitHead":"4ebb5bb2eb2965add6f8a690a48a8ad938119966","_id":"@calpano/ddot-shiki@0.1.1","bugs":{"url":"https://github.com/Calpano/ddot.it-syntax-tools/issues"},"_nodeVersion":"24.14.1","_npmVersion":"11.11.0","dist":{"integrity":"sha512-U1uq5HH4nU0nLEyvQuw/tbD4maysBg5gVjyh6bKqNYu9mvRshIoGBZZtvNu5+Blurjc5kZPHzjeHZ8zKi0oKtQ==","shasum":"653478dc16b54d7bdf5f4471c05363b63cb5210f","tarball":"https://registry.npmjs.org/@calpano/ddot-shiki/-/ddot-shiki-0.1.1.tgz","fileCount":3,"unpackedSize":3736,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@calpano%2fddot-shiki@0.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIHVkZIYiJ3s0fBAX/UpdIrBu9XTttREUQv4eJZ3m2yR0AiEAm5x8R1qnTOKSHvjeIYEizY3pAnlJZOjClWPdzAAaLqs="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c90e269b-b178-42e5-8f2b-7a2ce3c035c0"}},"directories":{},"maintainers":[{"name":"xamde","email":"support@calpano.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ddot-shiki_0.1.1_1778311030949_0.6984115892516765"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-08T09:49:53.082Z","modified":"2026-05-09T07:17:11.463Z","0.1.0":"2026-05-08T09:49:53.378Z","0.1.1":"2026-05-09T07:17:11.114Z"},"bugs":{"url":"https://github.com/Calpano/ddot.it-syntax-tools/issues"},"license":"MIT","homepage":"https://ddot.it","keywords":["ddot.it","shiki","syntax-highlighting","textmate","knowledge-graph"],"repository":{"type":"git","url":"git+https://github.com/Calpano/ddot.it-syntax-tools.git","directory":"shiki"},"description":"Shiki language registration for ddot.it (Knowledge Graph Notation). Wraps @calpano/ddot-textmate-grammar so any Shiki highlighter can pick up ddot.it.","maintainers":[{"name":"xamde","email":"support@calpano.com"}],"readme":"# @calpano/ddot-shiki\n\n[Shiki](https://shiki.style) language registration for **ddot.it** —\na minimal text format for typed knowledge graphs.\n\nWraps the canonical TextMate grammar (`@calpano/ddot-textmate-grammar`) so\nany Shiki-based highlighter can render `ddot.it` without redefining rules.\n\n## Install\n\n```sh\nnpm install @calpano/ddot-shiki shiki\n```\n\n`shiki` is a peer dependency.\n\n## Use\n\n```js\nimport { createHighlighter } from \"shiki\";\nimport ddot from \"@calpano/ddot-shiki\";\n\nconst highlighter = await createHighlighter({\n  themes: [\"github-light\"],\n  langs: [ddot],\n});\n\nconst code = `Project Eagle ..started in.. 2024\n..doc site.. example.com/docbase/8dcjsid`;\n\nconst html = highlighter.codeToHtml(code, {\n  lang: \"ddot.it\",\n  theme: \"github-light\",\n});\n```\n\nThe aliases `ddot.it`, `ddot`, and `ddotit` all resolve to this grammar\n(matching the existing IntelliJ and VS Code conventions).\n\n## Theme mapping\n\nThemes that style standard TextMate scopes will work out of the box.\n`ddot.it`-specific scopes the grammar emits:\n\n| Scope                               | What                            |\n|-------------------------------------|---------------------------------|\n| `entity.name.subject.ddot`          | First slot of a triple          |\n| `entity.name.relation.ddot`         | Predicate slot of a typed triple|\n| `entity.name.object.ddot`           | Object slot                     |\n| `entity.name.operator.ddot`         | `..` / `....` separator         |\n| `keyword.control.ddot`              | `ddot.it…`, `!!…` commands      |\n| `comment.metadata.*.ddot`           | `,,`-bounded metadata internals |\n| `comment.block.disabled.ddot`       | `off`–`on` muted span           |\n\nFor the canonical token vocabulary and conformance protocol see\n[`ddot.it/test-data/tokens.md`](https://github.com/Calpano/ddot.it/blob/main/test-data/tokens.md).\n\n## License\n\nMIT\n","readmeFilename":"README.md"}