{"_id":"@daiji256/rehype-mathml","_rev":"8-a784b170d8e2b887530a467ba7f4be90","name":"@daiji256/rehype-mathml","dist-tags":{"latest":"1.2.2"},"versions":{"1.0.0-beta.1":{"name":"@daiji256/rehype-mathml","version":"1.0.0-beta.1","keywords":["unified","markdown","rehype","rehype-plugin","plugin","html","temml","hast","latex","math","tex","mathml"],"author":{"name":"Daiji256"},"license":"MIT","_id":"@daiji256/rehype-mathml@1.0.0-beta.1","maintainers":[{"name":"daiji256","email":"daiji.szk@gmail.com"}],"homepage":"https://github.com/Daiji256/rehype-mathml#readme","bugs":{"url":"https://github.com/Daiji256/rehype-mathml/issues"},"dist":{"shasum":"cb3cfd02ca2f89fa9274eaa166ed7a2e9af3dbae","tarball":"https://registry.npmjs.org/@daiji256/rehype-mathml/-/rehype-mathml-1.0.0-beta.1.tgz","fileCount":12,"integrity":"sha512-QuTkGswR0qOsK0o04o8jjCQewduROnIyS56tZ7ZtQgCPeG8mFzBVEAC6qtbWI09yHbPAA3ZjszRVVC8I/QLcIg==","signatures":[{"sig":"MEUCIGnme1yvlDjncx/k14bOlM+bZY85js7qH0Ul9hkn8azDAiEAxu+oBtqp01XRX4kFrqC5TN5m88iGizQPei6C0U5LKLY=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@daiji256%2frehype-mathml@1.0.0-beta.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18295},"main":"./dist/lib/index.js","type":"module","exports":"./dist/lib/index.js","gitHead":"9bd4b3c613aa621aad6c4844d5b09f730cb86511","scripts":{"lint":"prettier . --check && eslint .","test":"npm run build && node --test dist/test/index.test.js","build":"tsc --build --clean && tsc --build","format":"prettier . --write && eslint --fix ."},"_npmUser":{"name":"daiji256","email":"daiji.szk@gmail.com"},"repository":{"url":"git+https://github.com/Daiji256/rehype-mathml.git","type":"git"},"_npmVersion":"10.9.0","description":"rehype plugin to render math with MathML","directories":{},"_nodeVersion":"22.11.0","dependencies":{"temml":"^0.10.24","unified":"^11.0.5","rehype-parse":"^9.0.1","hast-util-to-text":"^4.0.2","unist-util-visit-parents":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.14.0","globals":"^15.12.0","prettier":"^3.3.3","@eslint/js":"^9.14.0","typescript":"^5.6.3","@types/node":"^22.9.0","remark-math":"^6.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","rehype-stringify":"^10.0.1","typescript-eslint":"^8.13.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-mathml_1.0.0-beta.1_1731653066558_0.03910562706261955","host":"s3://npm-registry-packages"}},"1.0.0-beta.2":{"name":"@daiji256/rehype-mathml","version":"1.0.0-beta.2","keywords":["unified","markdown","rehype","rehype-plugin","plugin","html","temml","hast","latex","math","tex","mathml"],"author":{"name":"Daiji256"},"license":"MIT","_id":"@daiji256/rehype-mathml@1.0.0-beta.2","maintainers":[{"name":"daiji256","email":"daiji.szk@gmail.com"}],"homepage":"https://github.com/Daiji256/rehype-mathml#readme","bugs":{"url":"https://github.com/Daiji256/rehype-mathml/issues"},"dist":{"shasum":"56c981af59b5389a09806c1e5c2f2e73d13cfebc","tarball":"https://registry.npmjs.org/@daiji256/rehype-mathml/-/rehype-mathml-1.0.0-beta.2.tgz","fileCount":4,"integrity":"sha512-D/3SYaoF+9utOgBewRukVtwcLJ2hpnJfuu/8Cw/2qkrlaSXQLd2KEtEEmYLyUI1ss+IzJjCCjo2O1Jtj26SPkA==","signatures":[{"sig":"MEQCICg0EgD8u57ODzQL3rPfM1pqEhdSsEFbBZ485t6APadtAiA8kAV6BwEUditPxAKITNUwa4sD3JPFw7G1GNaXiyWY2A==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@daiji256%2frehype-mathml@1.0.0-beta.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":8990},"main":"./dist/lib/index.js","type":"module","exports":"./dist/lib/index.js","gitHead":"6813f48d75acd677ee1620c473ce6a788ba5d155","scripts":{"lint":"prettier . --check && eslint .","test":"npm run build && node --test dist/test/index.test.js","build":"tsc --build --clean && tsc --build","format":"prettier . --write && eslint --fix ."},"_npmUser":{"name":"daiji256","email":"daiji.szk@gmail.com"},"repository":{"url":"git+https://github.com/Daiji256/rehype-mathml.git","type":"git"},"_npmVersion":"10.9.0","description":"rehype plugin to render math with MathML","directories":{},"_nodeVersion":"22.11.0","dependencies":{"temml":"^0.10.24","unified":"^11.0.5","rehype-parse":"^9.0.1","hast-util-to-text":"^4.0.2","unist-util-visit-parents":"^6.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.14.0","globals":"^15.12.0","prettier":"^3.3.3","@eslint/js":"^9.14.0","typescript":"^5.6.3","@types/node":"^22.9.0","remark-math":"^6.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","rehype-stringify":"^10.0.1","typescript-eslint":"^8.13.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-mathml_1.0.0-beta.2_1731654078095_0.01968267533770085","host":"s3://npm-registry-packages"}},"1.0.0":{"name":"@daiji256/rehype-mathml","version":"1.0.0","keywords":["unified","markdown","rehype","rehype-plugin","plugin","html","temml","hast","latex","math","tex","mathml"],"author":{"name":"Daiji256"},"license":"MIT","_id":"@daiji256/rehype-mathml@1.0.0","maintainers":[{"name":"daiji256","email":"daiji.szk@gmail.com"}],"homepage":"https://github.com/Daiji256/rehype-mathml#readme","bugs":{"url":"https://github.com/Daiji256/rehype-mathml/issues"},"dist":{"shasum":"4e4100c7ab430f9153fa93adb99b176a029ad0ba","tarball":"https://registry.npmjs.org/@daiji256/rehype-mathml/-/rehype-mathml-1.0.0.tgz","fileCount":4,"integrity":"sha512-tBolX0eC4nJBhz7Nc5DWNC+GeYTeFQl7xQSYJK0aq+FyuoBBR6ljZT8lqXDs9dovnMNrU+Ir+WNFxT1VuXRdww==","signatures":[{"sig":"MEYCIQCRJXpZx6z9o52qBlR39ta7xJQ2AbliydtrvUd3PxH6FwIhANbYqKWLfN1SZsGN6q9oNHFcUaCMRkzTW42/x8Vdv1+4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@daiji256%2frehype-mathml@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9245},"main":"./dist/lib/index.js","type":"module","exports":"./dist/lib/index.js","gitHead":"9cd35ed4ea3e8f734a22f068fc003553d3cdd93d","scripts":{"lint":"prettier . --check && eslint .","test":"npm run build && node --test dist/test/index.test.js","build":"tsc --build --clean && tsc --build","format":"prettier . --write && eslint --fix ."},"_npmUser":{"name":"daiji256","email":"daiji.szk@gmail.com"},"repository":{"url":"git+https://github.com/Daiji256/rehype-mathml.git","type":"git"},"_npmVersion":"10.9.0","description":"rehype plugin to render math with MathML","directories":{},"_nodeVersion":"22.11.0","dependencies":{"temml":"^0.10.24","unified":"^11.0.5","hast-util-to-text":"^4.0.2","unist-util-visit-parents":"^6.0.0","hast-util-from-html-isomorphic":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.14.0","globals":"^15.12.0","prettier":"^3.3.3","@eslint/js":"^9.14.0","typescript":"^5.6.3","@types/node":"^22.9.0","remark-math":"^6.0.0","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","rehype-stringify":"^10.0.1","typescript-eslint":"^8.13.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-mathml_1.0.0_1731678846991_0.7787097595822086","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@daiji256/rehype-mathml","version":"1.1.0","keywords":["unified","markdown","rehype","rehype-plugin","plugin","html","temml","hast","latex","math","tex","mathml"],"author":{"name":"Daiji256"},"license":"MIT","_id":"@daiji256/rehype-mathml@1.1.0","maintainers":[{"name":"daiji256","email":"daiji.szk@gmail.com"}],"homepage":"https://github.com/Daiji256/rehype-mathml#readme","bugs":{"url":"https://github.com/Daiji256/rehype-mathml/issues"},"dist":{"shasum":"dcdf02bf6f07fffe9bc8dcada219349a629c2925","tarball":"https://registry.npmjs.org/@daiji256/rehype-mathml/-/rehype-mathml-1.1.0.tgz","fileCount":5,"integrity":"sha512-47/3Qc5GwqtDj0oHrTroSKiYYtBZhE5PHixlCu83ohQPjX+K4SmCxwf1MrmBSqGpHzQ2Els7z/nLtwG89yWD/Q==","signatures":[{"sig":"MEYCIQDbgCAhrs9YdKz92rD/Z8IM1ITpTbEeFtezyJn72BWSUgIhAIv8svlCY/oFUOu+IlSC2yrEmayWUZmRmn5gg/SAXxNf","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@daiji256%2frehype-mathml@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9540},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","exports":"./dist/lib/index.js","gitHead":"22881b60b8ee7e562ed7b361af90116ec629507b","scripts":{"lint":"prettier . --check && eslint .","test":"npm run build && node --test dist/test/index.test.js","build":"tsc --build --clean && tsc --build","format":"prettier . --write && eslint --fix ."},"_npmUser":{"name":"daiji256","email":"daiji.szk@gmail.com"},"repository":{"url":"git+https://github.com/Daiji256/rehype-mathml.git","type":"git"},"_npmVersion":"10.9.0","description":"rehype plugin to render math with MathML","directories":{},"_nodeVersion":"22.11.0","dependencies":{"hast":"^1.0.0","temml":"^0.10.0","unified":"^11.0.0","hast-util-to-text":"^4.0.0","unist-util-visit-parents":"^6.0.0","hast-util-from-html-isomorphic":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.14.0","globals":"^15.12.0","prettier":"^3.3.3","@eslint/js":"^9.14.0","typescript":"^5.6.3","@types/node":"^22.9.0","remark-math":"^6.0.0","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","rehype-stringify":"^10.0.1","typescript-eslint":"^8.13.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-mathml_1.1.0_1731731688749_0.05253603173403065","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@daiji256/rehype-mathml","version":"1.1.1","keywords":["unified","markdown","rehype","rehype-plugin","plugin","html","temml","hast","latex","math","tex","mathml"],"author":{"name":"Daiji256"},"license":"MIT","_id":"@daiji256/rehype-mathml@1.1.1","maintainers":[{"name":"daiji256","email":"daiji.szk@gmail.com"}],"homepage":"https://github.com/Daiji256/rehype-mathml#readme","bugs":{"url":"https://github.com/Daiji256/rehype-mathml/issues"},"dist":{"shasum":"9482331f02ce0ba5f54517276bef64abcd770d83","tarball":"https://registry.npmjs.org/@daiji256/rehype-mathml/-/rehype-mathml-1.1.1.tgz","fileCount":5,"integrity":"sha512-6g7ZSJgGtRWZEDkmTfe+/RN6ST5/40tule9p3kP5JiR1tDfGWWcPN+fu2zcB8zS18Cz/BNLRfNrUqt5RwfgKMA==","signatures":[{"sig":"MEQCIBFbBO84qvzrcDJ1841p+zaOho0WipkVzeFdmkdRI41ZAiAoxH3RCVA2Id/uDLeUr5rLVArwJE1QQl6bdnysF9jzpw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@daiji256%2frehype-mathml@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9547},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","exports":"./dist/lib/index.js","gitHead":"bbc6bd07d53f1236619f3aefb60f771459fe8046","scripts":{"lint":"prettier . --check && eslint .","test":"npm run build && node --test dist/test/index.test.js","build":"tsc --build --clean && tsc --build","format":"prettier . --write && eslint --fix ."},"_npmUser":{"name":"daiji256","email":"daiji.szk@gmail.com"},"repository":{"url":"git+https://github.com/Daiji256/rehype-mathml.git","type":"git"},"_npmVersion":"10.9.0","description":"rehype plugin to render math with MathML","directories":{},"_nodeVersion":"22.11.0","dependencies":{"temml":"^0.10.0","unified":"^11.0.0","@types/hast":"^3.0.0","hast-util-to-text":"^4.0.0","unist-util-visit-parents":"^6.0.0","hast-util-from-html-isomorphic":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.14.0","globals":"^15.12.0","prettier":"^3.3.3","@eslint/js":"^9.14.0","typescript":"^5.6.3","@types/node":"^22.9.0","remark-math":"^6.0.0","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","rehype-stringify":"^10.0.1","typescript-eslint":"^8.13.0","eslint-config-prettier":"^9.1.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-mathml_1.1.1_1731939914956_0.31572262873661394","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@daiji256/rehype-mathml","version":"1.2.0","keywords":["unified","markdown","rehype","rehype-plugin","plugin","html","temml","hast","latex","math","tex","mathml"],"author":{"name":"Daiji256"},"license":"MIT","_id":"@daiji256/rehype-mathml@1.2.0","maintainers":[{"name":"daiji256","email":"daiji.szk@gmail.com"}],"homepage":"https://github.com/Daiji256/rehype-mathml#readme","bugs":{"url":"https://github.com/Daiji256/rehype-mathml/issues"},"dist":{"shasum":"665c854fd46861f37b480fbe37bd0a8d613734c3","tarball":"https://registry.npmjs.org/@daiji256/rehype-mathml/-/rehype-mathml-1.2.0.tgz","fileCount":5,"integrity":"sha512-DFEebjDsJvoa2zLtuTuWzhG0XL6AxmmYfgdNiFe53VIc58uKECeurPq9VOPJizjMBSypTwlxLv/ojBIsyBemLw==","signatures":[{"sig":"MEUCIHq5i1kQosTD6NVm/xc3+WMY1vEQ4LskRYKE2f9PSSAXAiEA5/Mjw47meZI7hqIzSNTpnVFnzvW9T6391Kt6pf6A7qw=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@daiji256%2frehype-mathml@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9747},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","exports":"./dist/lib/index.js","gitHead":"de109e83d10be8977fae7fbd3e8f426d693ba83e","scripts":{"lint":"prettier . --check && eslint .","test":"npm run build && node --test dist/test/index.test.js","build":"tsc --build --clean && tsc --build","format":"prettier . --write && eslint --fix ."},"_npmUser":{"name":"daiji256","email":"daiji.szk@gmail.com"},"repository":{"url":"git+https://github.com/Daiji256/rehype-mathml.git","type":"git"},"_npmVersion":"10.9.2","description":"rehype plugin to render math with MathML","directories":{},"_nodeVersion":"22.13.1","dependencies":{"temml":"^0.11.0","unified":"^11.0.0","@types/hast":"^3.0.0","hast-util-to-text":"^4.0.0","unist-util-visit-parents":"^6.0.0","hast-util-from-html-isomorphic":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.20.1","globals":"^15.15.0","prettier":"^3.5.1","@eslint/js":"^9.20.0","typescript":"^5.7.3","@types/node":"^22.13.4","remark-math":"^6.0.0","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.1","rehype-stringify":"^10.0.1","typescript-eslint":"^8.24.1","eslint-config-prettier":"^10.0.1"},"_npmOperationalInternal":{"tmp":"tmp/rehype-mathml_1.2.0_1739970386019_0.160954592099408","host":"s3://npm-registry-packages-npm-production"}},"1.2.1":{"name":"@daiji256/rehype-mathml","version":"1.2.1","keywords":["unified","markdown","rehype","rehype-plugin","plugin","html","temml","hast","latex","math","tex","mathml"],"author":{"name":"Daiji256"},"license":"MIT","_id":"@daiji256/rehype-mathml@1.2.1","maintainers":[{"name":"daiji256","email":"daiji.szk@gmail.com"}],"homepage":"https://github.com/Daiji256/rehype-mathml#readme","bugs":{"url":"https://github.com/Daiji256/rehype-mathml/issues"},"dist":{"shasum":"c37c48fd5f0f8a1cf39cf7aa04ddffe3f31314ca","tarball":"https://registry.npmjs.org/@daiji256/rehype-mathml/-/rehype-mathml-1.2.1.tgz","fileCount":5,"integrity":"sha512-E1119EsVo1nORP0iO5S4/CKpXSKYNwdHSitxoowOGsqzYXuG/jgMINEyMNVidTQkWZ39tm7JrAbV+pCXIDsEZw==","signatures":[{"sig":"MEYCIQDWJwjBz44BIas4q8cVRE8Q9Am0aCoUgzpIzssyQVy7fwIhAK9usauc8xq+W+NcOdKXHhfR0BVOZ5/9taNxAtjTbMFs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@daiji256%2frehype-mathml@1.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":9745},"main":"./dist/lib/index.js","type":"module","types":"./dist/lib/index.d.ts","exports":"./dist/lib/index.js","gitHead":"856478369480f7809e6c85a3116047eb47379634","scripts":{"lint":"prettier . --check && eslint .","test":"npm run build && node --test dist/test/index.test.js","build":"tsc --build --clean && tsc --build","format":"prettier . --write && eslint --fix ."},"_npmUser":{"name":"daiji256","email":"daiji.szk@gmail.com"},"repository":{"url":"git+https://github.com/Daiji256/rehype-mathml.git","type":"git"},"_npmVersion":"10.9.2","description":"rehype plugin to render math with MathML","directories":{},"_nodeVersion":"22.16.0","dependencies":{"temml":"^0.11.0","unified":"^11.0.0","@types/hast":"^3.0.0","hast-util-to-text":"^4.0.0","unist-util-visit-parents":"^6.0.0","hast-util-from-html-isomorphic":"^2.0.0"},"_hasShrinkwrap":false,"devDependencies":{"eslint":"^9.28.0","globals":"^16.2.0","prettier":"^3.5.3","@eslint/js":"^9.28.0","typescript":"^5.8.3","@types/node":"^24.0.0","remark-math":"^6.0.0","rehype-parse":"^9.0.1","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","rehype-stringify":"^10.0.1","typescript-eslint":"^8.34.0","eslint-config-prettier":"^10.1.5"},"_npmOperationalInternal":{"tmp":"tmp/rehype-mathml_1.2.1_1749614323117_0.7782894068766151","host":"s3://npm-registry-packages-npm-production"}},"1.2.2":{"name":"@daiji256/rehype-mathml","version":"1.2.2","description":"rehype plugin to render math with MathML","keywords":["unified","markdown","rehype","rehype-plugin","plugin","html","temml","hast","latex","math","tex","mathml"],"bugs":{"url":"https://github.com/Daiji256/rehype-mathml/issues"},"repository":{"type":"git","url":"git+https://github.com/Daiji256/rehype-mathml.git"},"license":"MIT","author":{"name":"Daiji256"},"type":"module","exports":"./dist/lib/index.js","main":"./dist/lib/index.js","scripts":{"build":"tsc --build --clean && tsc --build","format":"prettier . --write && eslint --fix .","lint":"prettier . --check && eslint .","test":"npm run build && node --test dist/test/index.test.js"},"dependencies":{"@types/hast":"^3.0.0","hast-util-from-html-isomorphic":"^2.0.0","hast-util-to-text":"^4.0.0","temml":"^0.13.0","unified":"^11.0.0","unist-util-visit-parents":"^6.0.0"},"devDependencies":{"@eslint/js":"^9.39.2","@types/node":"^25.0.3","eslint":"^9.39.2","eslint-config-prettier":"^10.1.8","globals":"^16.5.0","prettier":"^3.7.4","rehype-parse":"^9.0.1","rehype-stringify":"^10.0.1","remark-math":"^6.0.0","remark-parse":"^11.0.0","remark-rehype":"^11.1.2","typescript":"^5.9.3","typescript-eslint":"^8.50.0"},"gitHead":"9ea383d7e9fb59aff7fad7dc4eefb97c0fb00130","types":"./dist/lib/index.d.ts","_id":"@daiji256/rehype-mathml@1.2.2","homepage":"https://github.com/Daiji256/rehype-mathml#readme","_nodeVersion":"24.12.0","_npmVersion":"11.6.2","dist":{"integrity":"sha512-l4+Y47QAuCDdoD+j9r8+wvPMw3FxYk8NuUY3nc1qBbNTgMX6X3Xogkimlu7Zn2meLJ5cnwZTNupAEnURbWujsQ==","shasum":"aecdf9efeda67abc7ad956f84e902a42aafc6dc7","tarball":"https://registry.npmjs.org/@daiji256/rehype-mathml/-/rehype-mathml-1.2.2.tgz","fileCount":5,"unpackedSize":10010,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@daiji256%2frehype-mathml@1.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQCFW11FSY34DGEGWWhtaBAopkNOLELmto77XaXaKkWccgIhAKLl+ZP60goS2k0QEALA5FJQtCjXmRHvMYIDYoLbyrgH"}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:9abe697c-5f27-48a9-a3db-01afdcba5512"}},"directories":{},"maintainers":[{"name":"daiji256","email":"daiji.szk@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-mathml_1.2.2_1766446660421_0.4813868310395486"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-15T06:44:26.443Z","modified":"2025-12-22T23:37:40.923Z","1.0.0-beta.1":"2024-11-15T06:44:26.772Z","1.0.0-beta.2":"2024-11-15T07:01:18.252Z","1.0.0":"2024-11-15T13:54:07.156Z","1.1.0":"2024-11-16T04:34:48.933Z","1.1.1":"2024-11-18T14:25:15.134Z","1.2.0":"2025-02-19T13:06:26.188Z","1.2.1":"2025-06-11T03:58:43.289Z","1.2.2":"2025-12-22T23:37:40.556Z"},"bugs":{"url":"https://github.com/Daiji256/rehype-mathml/issues"},"author":{"name":"Daiji256"},"license":"MIT","homepage":"https://github.com/Daiji256/rehype-mathml#readme","keywords":["unified","markdown","rehype","rehype-plugin","plugin","html","temml","hast","latex","math","tex","mathml"],"repository":{"type":"git","url":"git+https://github.com/Daiji256/rehype-mathml.git"},"description":"rehype plugin to render math with MathML","maintainers":[{"name":"daiji256","email":"daiji.szk@gmail.com"}],"readme":"# @daiji256/rehype-mathml\n\n[![npm version](https://img.shields.io/npm/v/@daiji256/rehype-mathml.svg)](https://www.npmjs.com/package/@daiji256/rehype-mathmle)\n[![npm downloads](https://img.shields.io/npm/dm/@daiji256/rehype-mathml.svg)](https://www.npmjs.com/package/@daiji256/rehype-mathml)\n\n**[rehype][]** plugin to render math with MathML by\nconverting LaTeX math to MathML using temml.\nThe reason for using [temml][] is that it is a lightweight library\nwith a wide coverage of LaTeX functions.\n\n## Contents\n\n- [Contents](#contents)\n- [What is this?](#what-is-this)\n- [When should I use this?](#when-should-i-use-this)\n- [Install](#install)\n- [Use](#use)\n- [API](#api)\n  - [`unified().use(rehypeMathML[, options])`](#unifieduserehypemathml-options)\n  - [`Options`](#options)\n- [Markdown](#markdown)\n- [HTML](#html)\n- [Types](#types)\n- [License](#license)\n\n## What is this?\n\nThis package is a [unified][] ([rehype][]) plugin to render math with MathML.\nYou can add classes to HTML elements, use fenced code in markdown, or combine\nwith [`remark-math`][remark-math] for a `$C$` syntax extension.\n\n## When should I use this?\n\nThis project is useful as it renders math with MathML at compile time,\nwhich means that no client-side JavaScript or images are needed.\n\nThis plugin is the MathML version of other plugins like\n[`rehype-mathjax`][rehype-mathjax] (renders with MathJax) and\n[`rehype-katex`][rehype-katex] (renders with KaTeX).\nWith MathML, the HTML becomes simpler and lighter.\nAdditionally, it supports the use of math fonts like [Noto Math][note-math].\n\n## Install\n\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install @daiji256/rehype-mathml\n```\n\nTo ensure proper rendering of mathematical expressions in every browser, you need to add [`Temml.woff2` and `Temml-*.css`][temml-dist].\n\n## Use\n\nSay our document `input.html` contains:\n\n```html\n<p>\n  Lift(<code class=\"language-math\">L</code>) can be determined by Lift\n  Coefficient (<code class=\"language-math\">C_L</code>) like the following\n  equation.\n</p>\n<pre><code class=\"language-math\">\n  L = \\frac{1}{2} \\rho v^2 S C_L\n</code></pre>\n```\n\n…and our module `example.js` contains:\n\n```js\nimport { unified } from 'unified';\nimport rehypeParse from 'rehype-parse';\nimport rehypeStringify from 'rehype-stringify';\nimport rehypeMathML from '@daiji256/rehype-mathml';\nimport { read, write } from 'to-vfile';\n\nconst file = await unified()\n  .use(rehypeParse, { fragment: true })\n  .use(rehypeMathML)\n  .use(rehypeStringify)\n  .process(await read('input.html'));\n\nfile.basename = 'output.html';\nawait write(file);\n```\n\n…then running `node example.js` creates an `output.html` with:\n\n```html\n<p>\n  Lift(<math><!--…--></math>) can be determined by Lift\n  Coefficient (<math><!--…--></math>) like the following\n  equation.\n</p>\n<math display=\"block\" class=\"tml-display\" style=\"display:block math;\"><!--…--></math>\n```\n\n…open `output.html` in a browser to see the rendered math.\n\n## API\n\nThis package exports no identifiers.\nThe default export is [`rehypeMathML`](#unifieduserehypemathml-options).\n\n### `unified().use(rehypeMathML[, options])`\n\nRender elements with a `language-math` (or `math-display`, `math-inline`)\nclass with [MathML][].\n\n### `Options`\n\nConfiguration (TypeScript type).\n\n```ts\nimport type { Options as TemmlOptions } from 'temml';\n\ntype Options = Partial<TemmlOptions>;\n```\n\nSee [_Options_ on `temml.org`][temml-options] for more info.\n\n## Markdown\n\nThis plugin supports the syntax extension enabled by\n[`remark-math`][remark-math].\nIt also supports math generated by using fenced code:\n\n````markdown\n```math\nC_L\n```\n````\n\n## HTML\n\nThe content of any element with a `language-math`, `math-inline`, or\n`math-display` class is transformed.\nThe elements are replaced by MathML transformed by temml.\nEither a `math-display` class or using `<pre><code class=\"language-math\">` will\nresult in “display” math: math that is a block on its own line.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional type [`Options`](#options).\n\n## License\n\n[MIT][license] © [Daiji256][author]\n\n<!-- Definitions -->\n\n[mathml]: https://www.w3.org/Math/\n[temml]: https://temml.org/\n[temml-options]: https://temml.org/docs/en/administration#options\n[temml-dist]: https://github.com/ronkok/Temml/tree/main/dist\n[unified]: https://github.com/unifiedjs/unified\n[rehype]: https://github.com/rehypejs/rehype\n[remark-math]: https://github.com/remarkjs/remark-math/tree/main/packages/remark-math\n[rehype-mathjax]: https://github.com/remarkjs/remark-math/tree/main/packages/rehype-mathjax\n[rehype-katex]: https://github.com/remarkjs/remark-math/tree/main/packages/rehype-katex\n[npm]: https://docs.npmjs.com/cli/install\n[typescript]: https://www.typescriptlang.org\n[note-math]: https://github.com/notofonts/math\n[license]: LICENSE\n[author]: https://github.com/Daiji256\n","readmeFilename":"README.md"}