{"_id":"rehype-mathjax","_rev":"4424090","name":"rehype-mathjax","description":"rehype plugin to transform inline and block math with MathJax","dist-tags":{"latest":"7.1.0"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"time":{"modified":"2026-04-08T13:49:11.000Z","created":"2020-01-27T07:46:43.875Z","7.1.0":"2025-02-20T11:40:12.394Z","7.0.0":"2025-02-12T12:21:24.783Z","6.0.0":"2023-12-21T14:14:01.673Z","5.0.0":"2023-09-19T11:40:09.646Z","4.0.3":"2023-07-18T15:26:03.436Z","4.0.2":"2021-11-11T14:17:08.859Z","4.0.1":"2021-08-23T09:23:29.954Z","4.0.0":"2021-08-09T13:42:58.383Z","3.1.0":"2021-02-05T14:18:18.804Z","3.0.0":"2020-08-22T17:57:19.978Z","2.0.0":"2020-05-30T08:47:05.245Z","1.0.0":"2020-01-27T07:46:43.875Z"},"users":{},"author":{"name":"Taniguchi Masaya","email":"mew@cat.ovh","url":"https://tani.cc"},"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-math.git#main"},"versions":{"7.1.0":{"author":{"name":"Taniguchi Masaya","email":"mew@cat.ovh","url":"https://tani.cc"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"contributors":[{"name":"Taniguchi Masaya","email":"mew@cat.ovh","url":"https://tani.cc"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/hast":"^3.0.0","@types/mathjax":"^0.0.40","hast-util-to-text":"^4.0.0","hastscript":"^9.0.0","mathjax-full":"^3.0.0","unified":"^11.0.0","unist-util-visit-parents":"^6.0.0","vfile":"^6.0.0"},"description":"rehype plugin to transform inline and block math with MathJax","exports":{"./browser":"./browser.js","./chtml":"./chtml.js","./svg":"./svg.js",".":"./svg.js"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"keywords":["hast","html","latex","markdown","math","mathjax","mdast","plugin","rehype","rehype-plugin","remark","tex","unified"],"license":"MIT","name":"rehype-mathjax","repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-math.git#main"},"scripts":{"test-api":"node --conditions development test/index.js","test":"npm run build && npm run test-api"},"sideEffects":false,"type":"module","version":"7.1.0","xo":{"prettier":true,"rules":{"unicorn/prefer-at":"off"}},"_id":"rehype-mathjax@7.1.0","gitHead":"76c14978ff6805011b8c56727c54104a511b9055","homepage":"https://github.com/remarkjs/remark-math/tree/main#readme","_nodeVersion":"23.1.0","_npmVersion":"11.1.0","dist":{"shasum":"d551819fcd916048a103dd836aff591b8a1bfe34","size":11767,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-7.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-7.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-mathjax_7.1.0_1740051612193_0.1744367886529683"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-20T11:40:12.394Z","publish_time":1740051612394,"_source_registry_name":"default","_cnpm_publish_time":1740051612394},"7.0.0":{"author":{"name":"Taniguchi Masaya","email":"mew@cat.ovh","url":"https://tani.cc"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"contributors":[{"name":"Taniguchi Masaya","email":"mew@cat.ovh","url":"https://tani.cc"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"@types/hast":"^3.0.0","@types/mathjax":"^0.0.40","hast-util-to-text":"^4.0.0","hastscript":"^9.0.0","mathjax-full":"^3.0.0","unified":"^11.0.0","unist-util-visit-parents":"^6.0.0"},"description":"rehype plugin to transform inline and block math with MathJax","exports":{"./browser":"./browser.js","./chtml":"./chtml.js","./svg":"./svg.js",".":"./svg.js"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"keywords":["hast","html","latex","markdown","math","mathjax","mdast","plugin","rehype","rehype-plugin","remark","tex","unified"],"license":"MIT","name":"rehype-mathjax","repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-math.git#main"},"scripts":{"test-api":"node --conditions development test/index.js","test":"npm run build && npm run test-api"},"sideEffects":false,"type":"module","version":"7.0.0","xo":{"prettier":true,"rules":{"unicorn/prefer-at":"off"}},"_id":"rehype-mathjax@7.0.0","gitHead":"ce40b18a4702a01d5b5d0545020c5738b862566b","homepage":"https://github.com/remarkjs/remark-math/tree/main#readme","_nodeVersion":"23.1.0","_npmVersion":"11.1.0","dist":{"shasum":"86c2fe98f1a6c06f85f37dbf7521e630aec21d8f","size":11269,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-7.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-7.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/rehype-mathjax_7.0.0_1739362884613_0.6591337490777305"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-02-12T12:21:24.783Z","publish_time":1739362884783,"_source_registry_name":"default","_cnpm_publish_time":1739362884783},"6.0.0":{"name":"rehype-mathjax","version":"6.0.0","description":"rehype plugin to transform inline and block math with MathJax","license":"MIT","keywords":["hast","html","latex","markdown","math","mathjax","mdast","plugin","rehype","rehype-plugin","remark","tex","unified"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-math.git#main"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},"contributors":[{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":{".":"./svg.js","./browser":"./browser.js","./chtml":"./chtml.js","./svg":"./svg.js"},"imports":{"#create-adapter":{"deno":"./lib/create-adapter.default.js","react-native":"./lib/create-adapter.default.js","worker":"./lib/create-adapter.default.js","browser":"./lib/create-adapter.browser.js","default":"./lib/create-adapter.default.js"}},"dependencies":{"@types/hast":"^3.0.0","@types/mathjax":"^0.0.40","hast-util-from-dom":"^5.0.0","hast-util-to-text":"^4.0.0","jsdom":"^23.0.0","mathjax-full":"^3.0.0","unified":"^11.0.0","unist-util-visit-parents":"^6.0.0"},"devDependencies":{"@types/jsdom":"^21.0.0"},"scripts":{"test-api":"node --conditions development test/index.js","test":"npm run build && npm run test-api"},"xo":{"prettier":true,"rules":{"n/file-extension-in-import":"off","unicorn/prefer-at":"off"}},"_id":"rehype-mathjax@6.0.0","gitHead":"8ea3c0868b953fc3f541ee08e96e78ecc0182e0d","homepage":"https://github.com/remarkjs/remark-math/tree/main#readme","_nodeVersion":"21.2.0","_npmVersion":"10.2.3","dist":{"shasum":"2b45b40fcb0991704618bc430b76dfdd455e4d00","size":10330,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-6.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-6.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_6.0.0_1703168041212_0.3154678388876544"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-12-21T14:14:01.673Z","publish_time":1703168041673,"_source_registry_name":"default","_cnpm_publish_time":1703168041673},"5.0.0":{"name":"rehype-mathjax","version":"5.0.0","description":"rehype plugin to transform inline and block math with MathJax","license":"MIT","keywords":["hast","html","latex","markdown","math","mathjax","mdast","plugin","rehype","rehype-plugin","remark","tex","unified"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-math.git#main"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},"contributors":[{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":{".":"./svg.js","./browser":"./browser.js","./chtml":"./chtml.js","./svg":"./svg.js"},"imports":{"#create-adapter":{"deno":"./lib/create-adapter.default.js","react-native":"./lib/create-adapter.default.js","worker":"./lib/create-adapter.default.js","browser":"./lib/create-adapter.browser.js","default":"./lib/create-adapter.default.js"}},"dependencies":{"@types/hast":"^3.0.0","@types/mathjax":"^0.0.37","hast-util-from-dom":"^5.0.0","hast-util-to-text":"^4.0.0","jsdom":"^22.0.0","mathjax-full":"^3.0.0","unified":"^11.0.0","unist-util-visit-parents":"^6.0.0"},"devDependencies":{"@types/jsdom":"^21.0.0"},"scripts":{"test-api":"node --conditions development test/index.js","test":"npm run build && npm run test-api"},"xo":{"prettier":true,"rules":{"n/file-extension-in-import":"off","unicorn/prefer-at":"off"}},"_id":"rehype-mathjax@5.0.0","gitHead":"298db348d96202eb8bb23d76fcec9db2096c4b6f","homepage":"https://github.com/remarkjs/remark-math/tree/main#readme","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"shasum":"b496d132ef5a542bb75f3fa6634aa6f6e5ddc329","size":10299,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-5.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-5.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_5.0.0_1695123609466_0.3563620493712689"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-09-19T11:40:09.646Z","publish_time":1695123609646,"_source_registry_name":"default","_cnpm_publish_time":1695123609646},"4.0.3":{"name":"rehype-mathjax","version":"4.0.3","description":"rehype plugin to transform inline and block math with MathJax","license":"MIT","keywords":["unified","remark","rehype","rehype-plugin","plugin","mdast","markdown","hast","html","math","mathjax","latex","tex"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-math.git#main"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},"contributors":[{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","browser":{"./lib/create-adaptor.js":"./lib/create-adaptor.browser.js"},"dependencies":{"@types/hast":"^2.0.0","@types/mathjax":"^0.0.37","hast-util-from-dom":"^4.0.0","hast-util-to-text":"^3.1.0","jsdom":"^20.0.0","mathjax-full":"^3.0.0","unified":"^10.0.0","unist-util-visit":"^4.0.0"},"devDependencies":{"@types/jsdom":"^20.0.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","test-api":"node --conditions development test/index.js","test":"npm run build && npm run test-api"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"needed `any`s","ignoreFiles":["lib/create-plugin.d.ts","lib/create-renderer.d.ts","lib/create-renderer.js"]},"gitHead":"6d9970e8231b680a2cd881f8f5d52a96121b1f9a","homepage":"https://github.com/remarkjs/remark-math/tree/main#readme","_id":"rehype-mathjax@4.0.3","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"shasum":"e8de43b54b2bafc4dca33d1f7f65e77191b59ec3","size":7656,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-4.0.3.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-4.0.3.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_4.0.3_1689693963293_0.13205538834335329"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-18T15:26:03.436Z","publish_time":1689693963436,"_source_registry_name":"default","_cnpm_publish_time":1689693963436},"4.0.2":{"name":"rehype-mathjax","version":"4.0.2","description":"rehype plugin to transform inline and block math with MathJax","license":"MIT","keywords":["unified","remark","rehype","rehype-plugin","plugin","mdast","markdown","hast","html","math","mathjax","latex","tex"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-math.git#main"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},"contributors":[{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","browser":{"./lib/create-adaptor.js":"./lib/create-adaptor.browser.js"},"dependencies":{"@types/hast":"^2.0.0","@types/mathjax":"^0.0.37","@types/web":"^0.0.46","hast-util-from-dom":"^4.0.0","hast-util-to-text":"^3.1.0","jsdom":"^18.0.0","mathjax-full":"^3.0.0","unified":"^10.0.0","unist-util-visit":"^4.0.0"},"devDependencies":{"@types/jsdom":"^16.0.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","test-api":"node --conditions development test/index.js","test":"npm run build && npm run test-api"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"needed `any`s","ignoreFiles":["lib/create-plugin.d.ts","lib/create-renderer.d.ts","lib/create-renderer.js"]},"gitHead":"fec9acce1220f761b22a4480f75dab8cb7d9014f","homepage":"https://github.com/remarkjs/remark-math/tree/main#readme","_id":"rehype-mathjax@4.0.2","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"shasum":"5d5bfc0380e81c67b8700cd4c61068f8bddc448f","size":7710,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-4.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-4.0.2.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_4.0.2_1636640228726_0.9241332486077376"},"_hasShrinkwrap":false,"publish_time":1636640228859,"_cnpm_publish_time":1636640228859,"_cnpmcore_publish_time":"2021-12-18T09:41:08.966Z"},"4.0.1":{"name":"rehype-mathjax","version":"4.0.1","description":"rehype plugin to transform inline and block math with MathJax","license":"MIT","keywords":["unified","remark","rehype","rehype-plugin","plugin","mdast","markdown","hast","html","math","mathjax","latex","tex"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-math.git#main"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},"contributors":[{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","browser":{"./lib/create-adaptor.js":"./lib/create-adaptor.browser.js"},"dependencies":{"@types/hast":"^2.0.0","@types/mathjax":"^0.0.36","@types/web":"^0.0.15","hast-util-from-dom":"^4.0.0","hast-util-to-text":"^3.1.0","jsdom":"^16.0.0","mathjax-full":"^3.0.0","unified":"^10.0.0","unist-util-visit":"^4.0.0"},"devDependencies":{"@types/jsdom":"^16.0.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","test-api":"node --conditions development test/index.js","test":"npm run build && npm run test-api"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"needed `any`s","ignoreFiles":["lib/create-plugin.d.ts","lib/create-renderer.d.ts","lib/create-renderer.js"]},"homepage":"https://github.com/remarkjs/remark-math/tree/main#readme","_id":"rehype-mathjax@4.0.1","_nodeVersion":"16.6.1","_npmVersion":"7.20.6","dist":{"shasum":"d51bd267489f6089aa99638957d45f48edd9cec8","size":9341,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-4.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-4.0.1.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_4.0.1_1629710609813_0.3285538883190464"},"_hasShrinkwrap":false,"publish_time":1629710609954,"_cnpm_publish_time":1629710609954,"_cnpmcore_publish_time":"2021-12-18T09:41:09.157Z"},"4.0.0":{"name":"rehype-mathjax","version":"4.0.0","description":"rehype plugin to transform inline and block math with MathJax","license":"MIT","keywords":["unified","remark","rehype","rehype-plugin","plugin","mdast","markdown","hast","html","math","mathjax","latex","tex"],"repository":{"type":"git","url":"git+https://github.com/remarkjs/remark-math.git#main"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},"contributors":[{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","browser":{"./lib/create-adaptor.js":"./lib/create-adaptor.browser.js"},"dependencies":{"@types/hast":"^2.0.0","@types/mathjax":"^0.0.36","@types/web":"^0.0.15","hast-util-from-dom":"^4.0.0","hast-util-to-text":"^3.0.0","jsdom":"^16.0.0","mathjax-full":"^3.0.0","unified":"^10.0.0","unist-util-visit":"^4.0.0"},"devDependencies":{"@types/jsdom":"^16.0.0"},"scripts":{"build":"rimraf \"lib/**/*.d.ts\" \"test/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","test-api":"node --conditions development test/index.js","test":"npm run build && npm run test-api"},"xo":false,"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true,"#":"needed `any`s","ignoreFiles":["lib/create-plugin.d.ts","lib/create-renderer.d.ts","lib/create-renderer.js"]},"homepage":"https://github.com/remarkjs/remark-math/tree/main#readme","_id":"rehype-mathjax@4.0.0","_nodeVersion":"16.6.1","_npmVersion":"7.20.3","dist":{"shasum":"747b156a4cb2052a544167883e528bcca00bfee5","size":9315,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-4.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-4.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_4.0.0_1628516578245_0.16009698893817093"},"_hasShrinkwrap":false,"publish_time":1628516578383,"_cnpm_publish_time":1628516578383,"_cnpmcore_publish_time":"2021-12-18T09:41:09.368Z"},"3.1.0":{"name":"rehype-mathjax","version":"3.1.0","description":"rehype plugin to transform inline and block math with MathJax","license":"MIT","keywords":["unified","remark","rehype","rehype-plugin","plugin","mdast","markdown","hast","html","math","mathjax","latex","tex"],"repository":{"type":"git","url":"https://github.com/remarkjs/remark-math/tree/main/packages/rehype-mathjax"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"browser":{"./lib/adaptor.js":"./lib/adaptor.browser.js"},"author":{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},"contributors":[{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.js","types":"index.d.ts","dependencies":{"@types/mathjax":"^0.0.36","hast-util-from-dom":"^3.0.0","hast-util-to-text":"^2.0.0","jsdom":"^16.0.0","mathjax-full":"^3.0.0","unist-util-visit":"^2.0.0"},"scripts":{"test-types":"dtslint"},"xo":false,"_id":"rehype-mathjax@3.1.0","_nodeVersion":"15.1.0","_npmVersion":"7.5.2","dist":{"shasum":"d0282243bf68f3f18dd63a062e0f8c45662ecc26","size":7979,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-3.1.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-3.1.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_3.1.0_1612534698632_0.7062840634747725"},"_hasShrinkwrap":false,"publish_time":1612534698804,"_cnpm_publish_time":1612534698804,"_cnpmcore_publish_time":"2021-12-18T09:41:09.589Z"},"3.0.0":{"name":"rehype-mathjax","version":"3.0.0","description":"rehype plugin to transform inline and block math with MathJax","license":"MIT","keywords":["unified","remark","rehype","rehype-plugin","plugin","mdast","markdown","hast","html","math","mathjax","latex","tex"],"repository":{"type":"git","url":"https://github.com/remarkjs/remark-math/tree/main/packages/rehype-mathjax"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"browser":{"./lib/adaptor.js":"./lib/adaptor.browser.js"},"author":{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},"contributors":[{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.js","types":"index.d.ts","dependencies":{"@types/mathjax":"^0.0.36","hast-util-from-dom":"^3.0.0","hast-util-to-text":"^2.0.0","jsdom":"^16.0.0","mathjax-full":"^3.0.0","unist-util-visit":"^2.0.0"},"scripts":{"test-types":"dtslint"},"xo":false,"_id":"rehype-mathjax@3.0.0","_nodeVersion":"14.7.0","_npmVersion":"6.14.8","dist":{"shasum":"33c0588eb23b89b32c94b2e6a4fa2196b19621c4","size":4786,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-3.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-3.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_3.0.0_1598119039642_0.45194743351246625"},"_hasShrinkwrap":false,"publish_time":1598119039978,"_cnpm_publish_time":1598119039978,"_cnpmcore_publish_time":"2021-12-18T09:41:09.807Z"},"2.0.0":{"name":"rehype-mathjax","version":"2.0.0","description":"rehype plugin to transform inline and block math with MathJax","license":"MIT","keywords":["unified","remark","rehype","rehype-plugin","plugin","mdast","markdown","hast","html","math","mathjax","latex","tex"],"repository":{"type":"git","url":"https://github.com/remarkjs/remark-math/tree/master/packages/rehype-mathjax"},"bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"browser":{"./lib/adaptor.js":"./lib/adaptor.browser.js"},"author":{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},"contributors":[{"name":"TANIGUCHI Masaya","email":"mew@cat.ovh","url":"https://docs.casa"},{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.js","dependencies":{"hast-util-from-dom":"^2.0.0","hast-util-to-text":"^2.0.0","jsdom":"^16.0.0","mathjax-full":"^3.0.0","unist-util-visit":"^2.0.0"},"devDependencies":{},"xo":false,"_id":"rehype-mathjax@2.0.0","_nodeVersion":"14.0.0","_npmVersion":"6.14.5","dist":{"shasum":"2d2fd91c68622e1183b83341c28caabbd752970a","size":4163,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-2.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-2.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_2.0.0_1590828425134_0.09399895169525663"},"_hasShrinkwrap":false,"publish_time":1590828425245,"_cnpm_publish_time":1590828425245,"_cnpmcore_publish_time":"2021-12-18T09:41:10.030Z"},"1.0.0":{"name":"rehype-mathjax","version":"1.0.0","description":"","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/Ir1d/rehype-mathjax.git"},"author":{"name":"Ir1d"},"license":"MIT","bugs":{"url":"https://github.com/Ir1d/rehype-mathjax/issues"},"homepage":"https://github.com/Ir1d/rehype-mathjax#readme","gitHead":"31ca76ce0c6977ba8d60a3c417bc34faae04c0af","_id":"rehype-mathjax@1.0.0","_nodeVersion":"12.10.0","_npmVersion":"6.10.3","dist":{"shasum":"942d7b3fceb1e409d541fc6dc6f94ebd079758fb","size":827,"noattachment":false,"key":"/rehype-mathjax/-/rehype-mathjax-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/rehype-mathjax/download/rehype-mathjax-1.0.0.tgz"},"maintainers":[{"name":"johno","email":"johnotander@gmail.com"},{"name":"remcohaszing","email":""},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"scaffrey","email":"sirius.caffrey@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-mathjax_1.0.0_1580111203749_0.7569787521431532"},"_hasShrinkwrap":false,"publish_time":1580111203875,"_cnpm_publish_time":1580111203875,"_cnpmcore_publish_time":"2021-12-18T09:41:10.302Z"}},"readme":"# rehype-mathjax\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n**[rehype][]** plugin to render elements with a `language-math` class with\n[MathJax][].\n\n## Contents\n\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(rehypeMathjax[, options])`](#unifieduserehypemathjax-options)\n  * [`Options`](#options)\n* [Markdown](#markdown)\n* [HTML](#html)\n* [CSS](#css)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Related](#related)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package is a [unified][] ([rehype][]) plugin to render math.\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 MathJax at compile time, which\nmeans that there is no client side JavaScript needed.\n\nA different plugin, [`rehype-katex`][rehype-katex], does the same but with\n[KaTeX][].\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 18+), install with [npm][]:\n\n```sh\nnpm install rehype-mathjax\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport rehypeMathjax from 'https://esm.sh/rehype-mathjax@7'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import rehypeMathjax from 'https://esm.sh/rehype-mathjax@7?bundle'\n</script>\n```\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 Coefficient\n  (<code class=\"language-math\">C_L</code>) like the following 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 rehypeMathjax from 'rehype-mathjax'\nimport rehypeParse from 'rehype-parse'\nimport rehypeStringify from 'rehype-stringify'\nimport {read, write} from 'to-vfile'\nimport {unified} from 'unified'\n\nconst file = await unified()\n  .use(rehypeParse, {fragment: true})\n  .use(rehypeMathjax)\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(<mjx-container class=\"MathJax\" jax=\"SVG\"><!--…--></mjx-container>) can be determined by Lift Coefficient\n  (<mjx-container class=\"MathJax\" jax=\"SVG\"><!--…--></mjx-container>) like the following equation.\n</p>\n<mjx-container class=\"MathJax\" jax=\"SVG\" display=\"true\"><!--…--></mjx-container>\n<style>\nmjx-container[jax=\"SVG\"] {\n  direction: ltr;\n}\n/* … */\n</style>\n```\n\n…open `output.html` in a browser to see the rendered math.\n\n## API\n\nThis package has an export map with several entries for plugins using different\nstrategies:\n\n* `rehype-mathjax/browser` — browser (±1kb)\n* `rehype-mathjax/chtml` — [CHTML][mathjax-chtml] (±154kb)\n* `rehype-mathjax/svg` — [SVG][mathjax-svg] (±566kb)\n* `rehype-mathjax` — same as SVG\n\nEach module exports the plugin [`rehypeMathjax`][api-rehype-mathjax] as\nthe default export.\n\n### `unified().use(rehypeMathjax[, options])`\n\nRender elements with a `language-math` (or `math-display`, `math-inline`)\nclass with [MathJax][].\n\n###### Parameters\n\n* `options` ([`Options`][api-options], typically optional)\n  — configuration\n\n###### Returns\n\nTransform ([`Transformer`][unified-transformer]).\n\n### `Options`\n\nConfiguration (TypeScript type).\n\n###### Fields\n\n* `chtml` (`unknown`, optional)\n  — configuration for the output, when CHTML;\n  see [*CommonHTML Output Processor Options* on\n  `mathjax.org`][mathjax-chtml-options]\n* `svg` (`unknown`, optional)\n  — configuration for the output, when SVG;\n  see [*SVG Output Processor Options* on\n  `mathjax.org`][mathjax-svg-options]\n* `tex` (`unknown`, optional)\n  — configuration for the input TeX;\n  see [*TeX Input Processor Options* on\n  `mathjax.org`][mathjax-tex-options]\n\n###### Notes\n\nWhen using `rehype-mathjax/browser`, only `options.tex.displayMath` and\n`options.tex.inlineMath` are used.\nThat plugin will use the first delimiter pair in those fields to wrap\nmath.\nThen you need to load MathJax yourself on the client and start it with the\nsame markers.\nYou can pass other options on the client.\n\nWhen using `rehype-mathjax/chtml`, `options.chtml.fontURL` is required.\nFor example:\n\n```js\n  // …\n  .use(rehypeMathjaxChtml, {\n    chtml: {\n      fontURL: 'https://cdn.jsdelivr.net/npm/mathjax@3/es5/output/chtml/fonts/woff-v2'\n    }\n  })\n  // …\n```\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 what MathJax renders.\nEither a `math-display` class or using `<pre><code class=\"language-math\">` will\nresult in “display” math: math that is a centered block on its own line.\n\n## CSS\n\nThe HTML produced by MathJax does not require any extra CSS to render correctly.\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional type [`Options`][api-options].\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line, `rehype-mathjax@7`,\ncompatible with Node.js 18.\n\nThis plugin works with unified version 6+ and rehype version 4+.\n\n## Security\n\nAssuming you trust MathJax, using `rehype-mathjax` is safe.\nA vulnerability in it could open you to a\n[cross-site scripting (XSS)][wiki-xss] attack.\nBe wary of user input and use [`rehype-sanitize`][rehype-sanitize].\n\nWhen you don’t trust user content but do trust MathJax, run `rehype-mathjax`\n*after* `rehype-sanitize`:\n\n```js\nimport rehypeMathjax from 'rehype-mathjax'\nimport rehypeSanitize, {defaultSchema} from 'rehype-sanitize'\nimport rehypeStringify from 'rehype-stringify'\nimport remarkMath from 'remark-math'\nimport remarkParse from 'remark-parse'\nimport remarkRehype from 'remark-rehype'\nimport {unified} from 'unified'\n\nconst file = await unified()\n  .use(remarkParse)\n  .use(remarkMath)\n  .use(remarkRehype)\n  .use(rehypeSanitize, {\n    ...defaultSchema,\n    attributes: {\n      ...defaultSchema.attributes,\n      // The `language-*` regex is allowed by default.\n      code: [['className', /^language-./, 'math-inline', 'math-display']]\n    }\n  })\n  .use(rehypeMathjax)\n  .use(rehypeStringify)\n  .process('$C$')\n\nconsole.log(String(file))\n```\n\n## Related\n\n* [`rehype-katex`][rehype-katex]\n  — same but with KaTeX\n* [`rehype-highlight`](https://github.com/rehypejs/rehype-highlight)\n  — highlight code blocks\n* [`rehype-autolink-headings`](https://github.com/rehypejs/rehype-autolink-headings)\n  — add links to headings\n* [`rehype-sanitize`][rehype-sanitize]\n  — sanitize HTML\n* [`rehype-document`](https://github.com/rehypejs/rehype-document)\n  — wrap a document around the tree\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`remarkjs/.github`][health] for ways\nto get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Taniguchi Masaya][author]\n\n<!-- Definitions -->\n\n[api-options]: #options\n\n[api-rehype-mathjax]: #unifieduserehypemathjax-options\n\n[author]: https://rokt33r.github.io\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[build]: https://github.com/remarkjs/remark-math/actions\n\n[build-badge]: https://github.com/remarkjs/remark-math/workflows/main/badge.svg\n\n[chat]: https://github.com/remarkjs/remark/discussions\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[coc]: https://github.com/remarkjs/.github/blob/main/code-of-conduct.md\n\n[collective]: https://opencollective.com/unified\n\n[contributing]: https://github.com/remarkjs/.github/blob/main/contributing.md\n\n[coverage]: https://codecov.io/github/remarkjs/remark-math\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/remarkjs/remark-math.svg\n\n[downloads]: https://www.npmjs.com/package/rehype-mathjax\n\n[downloads-badge]: https://img.shields.io/npm/dm/rehype-mathjax.svg\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[health]: https://github.com/remarkjs/.github\n\n[katex]: https://github.com/Khan/KaTeX\n\n[license]: https://github.com/remarkjs/remark-math/blob/main/license\n\n[mathjax]: https://mathjax.org/\n\n[mathjax-chtml]: http://docs.mathjax.org/en/latest/output/html.html\n\n[mathjax-chtml-options]: http://docs.mathjax.org/en/latest/options/output/chtml.html\n\n[mathjax-svg]: http://docs.mathjax.org/en/latest/output/svg.html\n\n[mathjax-svg-options]: http://docs.mathjax.org/en/latest/options/output/svg.html\n\n[mathjax-tex-options]: http://docs.mathjax.org/en/latest/options/input/tex.html\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[rehype]: https://github.com/rehypejs/rehype\n\n[rehype-katex]: ../rehype-katex/\n\n[rehype-sanitize]: https://github.com/rehypejs/rehype-sanitize\n\n[remark-math]: ../remark-math/\n\n[size]: https://bundlejs.com/?q=rehype-mathjax\n\n[size-badge]: https://img.shields.io/bundlejs/size/rehype-mathjax\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[support]: https://github.com/remarkjs/.github/blob/main/support.md\n\n[typescript]: https://www.typescriptlang.org\n\n[unified]: https://github.com/unifiedjs/unified\n\n[unified-transformer]: https://github.com/unifiedjs/unified#transformer\n\n[wiki-xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n","_attachments":{},"homepage":"https://github.com/remarkjs/remark-math/tree/main#readme","bugs":{"url":"https://github.com/remarkjs/remark-math/issues"},"license":"MIT"}