{"_id":"@bndynet/ichat-renderer-katex","_rev":"7-28310765e09ba8000bf3d747ab3194a2","name":"@bndynet/ichat-renderer-katex","dist-tags":{"latest":"3.3.2"},"versions":{"3.0.0":{"name":"@bndynet/ichat-renderer-katex","version":"3.0.0","license":"MIT","_id":"@bndynet/ichat-renderer-katex@3.0.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"91ff70dd68fccc2cb74d1f745b793be7643a1ecb","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-katex/-/ichat-renderer-katex-3.0.0.tgz","fileCount":8,"integrity":"sha512-7cANCx/RmzIUn44ANw7ekttiQCjRi+xPUJhuDrcUC7p8ISpJuoW1gnpMtbjivGCNLQaEihdHi42TxtwHfs7o2Q==","signatures":[{"sig":"MEUCIAtD97UDYG5z6684Fj7zP3Xt9sXqVMgSdmBavgiAQTd/AiEAm+2uqp1OleilG0OAFK3o3BpdJ8Ss7xJhnQ7eu8jsUQo=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":20999},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"9ac441b3d400e4681e0306a0e604f404b9c11a2c","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"bndy","email":"zb@bndy.net"},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"10.8.2","description":"KaTeX math rendering plugin for @bndynet/ichat: $inline$ and $$display$$ LaTeX math via markdown-it-katex.","directories":{},"_nodeVersion":"20.20.1","dependencies":{"katex":"^0.16.11","markdown-it-katex":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.0.0"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-katex_3.0.0_1785413142172_0.7620153441814417","host":"s3://npm-registry-packages-npm-production"}},"3.1.0":{"name":"@bndynet/ichat-renderer-katex","version":"3.1.0","license":"MIT","_id":"@bndynet/ichat-renderer-katex@3.1.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"6ecf661086760e85766e1c81a15bb795e8f6aced","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-katex/-/ichat-renderer-katex-3.1.0.tgz","fileCount":8,"integrity":"sha512-ZS3uR38BXFEJzErKToAJ7efgqW7tJj30QpzeYm5ejQG5Uupw/hjKCojGU5WAWriz69HXqFJ0eXV09UKGzLGyng==","signatures":[{"sig":"MEUCICfUDPED6XVWinyAlU3Bnj60L5Ip+LT6Tspiojfb3asXAiEAiyzisqlvhwW/WjU15UGCOJ6HMXJWX0cGgJXNCLSXOS0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-katex@3.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":20847},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"c0351eecede67b4ad11bf97f1bd75f5c4bcd63b5","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c422d078-e619-45e3-85f9-6d3da7f64697"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.16.0","description":"KaTeX math rendering plugin for @bndynet/ichat: $inline$ and $$display$$ LaTeX math via markdown-it-katex.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"katex":"^0.16.11","markdown-it-katex":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.1.0"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-katex_3.1.0_1785635677644_0.8613554366255372","host":"s3://npm-registry-packages-npm-production"}},"3.2.0":{"name":"@bndynet/ichat-renderer-katex","version":"3.2.0","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","katex","latex","math","tex"],"license":"MIT","_id":"@bndynet/ichat-renderer-katex@3.2.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"dd2d38b3dde51e628cd1a37fe76b802d367ab4ea","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-katex/-/ichat-renderer-katex-3.2.0.tgz","fileCount":8,"integrity":"sha512-c+VKmwOtejVJ0wMKkn4iFjx2AcEZgwedTMwqFxY2F5vlKPlRwy7RMR+ql6vbEu1Sz9wu003hYggotoABaivbuw==","signatures":[{"sig":"MEUCIGpZIDLOg75jRDmILhug754aMI3wfnslLfjBYKL9ogiqAiEAlZBWus0tNh4EIst6tazZ0ZHg6cK0O+nfGzKEVg3XAo0=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-katex@3.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21339},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"5ca80b316e1f65ab073ed8b2cdb0c79994b1af74","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c422d078-e619-45e3-85f9-6d3da7f64697"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.16.0","description":"KaTeX math rendering plugin for @bndynet/ichat: $inline$ and $$display$$ LaTeX math via markdown-it-katex.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"katex":"^0.16.11","markdown-it-katex":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.2.0"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-katex_3.2.0_1786027145023_0.09489881479023432","host":"s3://npm-registry-packages-npm-production"}},"3.2.1":{"name":"@bndynet/ichat-renderer-katex","version":"3.2.1","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","katex","latex","math","tex"],"license":"MIT","_id":"@bndynet/ichat-renderer-katex@3.2.1","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"23ea1ae22d956a148ac743774c810a39c3d4971b","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-katex/-/ichat-renderer-katex-3.2.1.tgz","fileCount":8,"integrity":"sha512-GruFZzY4cVru5PZXRZ6HuU78p/JkIEwUBB0363+npoMDmFQjhJmGEZ47bkfN+o7bp2k5Jx6A6fqJbcBMPaBZsg==","signatures":[{"sig":"MEYCIQDeRuUbfDE5UjzGKx10AAqQZNU0xcDFUKiXeX+pkzJvUgIhAPP8EpqsuW6tjQLKGvBbm6B9X0o3xIjSH0Cknnn4u0U4","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-katex@3.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":21339},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a35cb154968cefc9fef5ec1246a8326be607d6a9","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c422d078-e619-45e3-85f9-6d3da7f64697"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.16.0","description":"KaTeX math rendering plugin for @bndynet/ichat: $inline$ and $$display$$ LaTeX math via markdown-it-katex.","directories":{},"_nodeVersion":"24.18.0","dependencies":{"katex":"^0.16.11","markdown-it-katex":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.2.1"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-katex_3.2.1_1786105390155_0.6272375052952672","host":"s3://npm-registry-packages-npm-production"}},"3.3.0":{"name":"@bndynet/ichat-renderer-katex","version":"3.3.0","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","katex","latex","math","tex"],"license":"MIT","_id":"@bndynet/ichat-renderer-katex@3.3.0","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"d687a4a4a286c211cdb28daef6b572d9cbc4c9b4","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-katex/-/ichat-renderer-katex-3.3.0.tgz","fileCount":9,"integrity":"sha512-7CjCGWx9XJxgymqMrqIPXZnL9O5/rmtpk0Hlu0Dw249II3b/RP4WL+hhqRUgxVGe3Kvh65cXTi1nczqjQ36pSg==","signatures":[{"sig":"MEQCIHPdKcSUJwzRBZStGr3W3jK8Mjxf2OZBWEqcUGO0VHerAiBqQBoGwfLH2TMZkK50RgVm3hdiNtFOPeD1Ax3sE53SXg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-katex@3.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22376},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"53344d480e393cd5c1ff8d1c4764086482be9f43","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c422d078-e619-45e3-85f9-6d3da7f64697"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.17.0","description":"KaTeX math rendering plugin for @bndynet/ichat: $inline$ and $$display$$ LaTeX math via markdown-it-katex.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"katex":"^0.16.11","markdown-it-katex":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.3.0"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-katex_3.3.0_1787146363114_0.28148865383676624","host":"s3://npm-registry-packages-npm-production"}},"3.3.1":{"name":"@bndynet/ichat-renderer-katex","version":"3.3.1","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","katex","latex","math","tex"],"license":"MIT","_id":"@bndynet/ichat-renderer-katex@3.3.1","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"homepage":"https://github.com/bndynet/ichat#readme","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"890c790b496bc12676e4fe2a03d21ef355a3983f","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-katex/-/ichat-renderer-katex-3.3.1.tgz","fileCount":9,"integrity":"sha512-8g8lgfU5cX5yIpe84YuYsauWhD14YZrMUnkH8hBS7yof+qFkCd7GGtcqq8KUW1XdFzByhgM29E63aPwVJr5fSA==","signatures":[{"sig":"MEUCIQCmrB3otkS+jvI/PIrZi8V0jwZOGYa0SRUIeg5AvVglvAIgT6XBnfJE3Czz8KvqsmVm3JYHvL2JmHNK4ntw0NBCDG8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-katex@3.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22376},"main":"./dist/index.cjs","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"51e38edd7ebd3c1bced6a369ac186543c6c48f1b","scripts":{"dev":"tsup --watch","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c422d078-e619-45e3-85f9-6d3da7f64697"}},"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.17.0","description":"KaTeX math rendering plugin for @bndynet/ichat: $inline$ and $$display$$ LaTeX math via markdown-it-katex.","directories":{},"_nodeVersion":"24.19.0","dependencies":{"katex":"^0.16.11","markdown-it-katex":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.3.1"},"_npmOperationalInternal":{"tmp":"tmp/ichat-renderer-katex_3.3.1_1787574139419_0.10834097803980747","host":"s3://npm-registry-packages-npm-production"}},"3.3.2":{"_id":"@bndynet/ichat-renderer-katex@3.3.2","bugs":{"url":"https://github.com/bndynet/ichat/issues"},"dist":{"shasum":"9347820b7cd09589d3e48988d1d12b4b4d4141a1","tarball":"https://registry.npmjs.org/@bndynet/ichat-renderer-katex/-/ichat-renderer-katex-3.3.2.tgz","fileCount":9,"integrity":"sha512-f3feW1hfFUP+CRRsaD3u9Zwi22hauewzOMlZssAaKZ43y5wd5M91htqQzVR1yYMv3grbAYhPdGLzZ8fNB8YCyw==","signatures":[{"sig":"MEYCIQDoBQkzE3dW3HtuSrZed1g8qQKthcDtRVQ0FP4im/Iw4gIhAKaM1gYM4ldqYlQZDKhCLjVJ9I0drNmM2hq7aycFLwI2","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCuKBclUqRyHOkHatFggC6NgOwJaNjn/sW3eq2f+TD00QIgIYNEIqj657xm1mKK9YXAQOhd1Ca23nyY9s7Q4yBhaPI="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@bndynet%2fichat-renderer-katex@3.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":22376},"main":"./dist/index.cjs","name":"@bndynet/ichat-renderer-katex","type":"module","types":"./dist/index.d.ts","module":"./dist/index.js","engines":{"node":">=20"},"exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"d79e83a0272726bfb03b5848d183ec5b3ea05336","license":"MIT","scripts":{"dev":"tsup --watch","build":"tsup"},"version":"3.3.2","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:c422d078-e619-45e3-85f9-6d3da7f64697"}},"homepage":"https://github.com/bndynet/ichat#readme","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","katex","latex","math","tex"],"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"_npmVersion":"11.19.0","description":"KaTeX math rendering plugin for @bndynet/ichat: $inline$ and $$display$$ LaTeX math via markdown-it-katex.","directories":{},"maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"_nodeVersion":"24.21.0","dependencies":{"katex":"^0.16.11","markdown-it-katex":"^2.0.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.4.0","typescript":"^5.8.2","markdown-it":"^14.1.0","@bndynet/ichat-messages":"file:../chat-messages"},"peerDependencies":{"markdown-it":">=14","@bndynet/ichat-messages":"^3.3.2"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/ichat-renderer-katex_3.3.2_1790428365542_0.20755154310870694"}}},"time":{"created":"2026-07-30T12:05:40.183Z","modified":"2026-09-26T13:12:46.013Z","3.0.0":"2026-07-30T12:05:42.305Z","3.1.0":"2026-08-02T01:54:37.784Z","3.2.0":"2026-08-06T14:39:05.176Z","3.2.1":"2026-08-07T12:23:10.307Z","3.3.0":"2026-08-19T13:32:43.278Z","3.3.1":"2026-08-24T12:22:19.583Z","3.3.2":"2026-09-26T13:12:45.642Z"},"bugs":{"url":"https://github.com/bndynet/ichat/issues"},"license":"MIT","homepage":"https://github.com/bndynet/ichat#readme","keywords":["ai-chat","chat-ui","chatbot-ui","web-components","lit","llm-ui","markdown","markdown-it-plugin","katex","latex","math","tex"],"repository":{"url":"git+https://github.com/bndynet/ichat.git","type":"git"},"description":"KaTeX math rendering plugin for @bndynet/ichat: $inline$ and $$display$$ LaTeX math via markdown-it-katex.","maintainers":[{"name":"bndy","email":"zb@bndy.net"}],"readme":"# @bndynet/ichat-renderer-katex\n\nKaTeX math rendering for [iChat](https://github.com/bndynet/ichat). Auto-registers `markdown-it-katex` on import so `$...$` (inline) and `$$...$$` (display) LaTeX math renders inside chat messages.\n\n## Install\n\n```bash\nnpm install @bndynet/ichat-renderer-katex\n```\n\n## Usage\n\nImport **before** any `<i-chat>` or `<i-chat-messages>` element connects to the DOM:\n\n```typescript\nimport \"@bndynet/ichat-renderer-katex\";\n```\n\nThat's it — no manual `registerMarkdownPlugin` call needed. Inline (`$x^2$`) and display (`$$...$$`) math now render automatically.\n\n## What's included\n\n- **`markdown-it-katex`** plugin registered on the shared markdown-it instance\n- **Chat-friendly CSS** — scrollable display math, no overflow breakage in chat bubbles\n- **KaTeX fonts** via `@font-face` (served from jsDelivr CDN)\n\n## Peer dependencies\n\n`@bndynet/ichat-messages` and `markdown-it` are peer dependencies; the required\nversion ranges are declared in `package.json`.\n\n## License\n\nMIT\n","readmeFilename":"README.md"}