{"_id":"@andatoshiki/markdown-it-katex","_rev":"2-fc22459f1b81c058098aa3b3e410d106","name":"@andatoshiki/markdown-it-katex","dist-tags":{"latest":"0.0.3"},"versions":{"0.0.1-alpha":{"name":"@andatoshiki/markdown-it-katex","version":"0.0.1-alpha","description":"Fast math support for markdown-it with KaTeX","main":"index.js","types":"index.d.ts","scripts":{"watch":"watchify browser.js -o bundle.js -v","test":"uvu","lint":"prettier --write .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","publish-npm":"npm publish --access public --ignore-scripts --@andatoshiiki:registry='https://registry.npmjs.org'","lint-commit":"git commit -m 'chore(lint): lint all files in project via prettier'"},"repository":{"type":"git","url":"git+ssh://git@github.com/lolilab/markdown-it-katex.git"},"keywords":["markdown","KaTeX","math","LaTeX","markdown-it-plugin","markdown-it"],"author":{"name":"Anda Toshiki","email":"hello@toshiki.dev"},"license":"MIT","dependencies":{"katex":"^0.16.0"},"devDependencies":{"@types/katex":"^0.14.0","@types/markdown-it":"^12.0.1","markdown-it":"^13.0.1","markdown-it-testgen":"^0.1.6","prettier":"2.8.4","uvu":"^0.5.3","watchify":"4.0.0"},"gitHead":"0d3555c4c3ac9cd06508b996e434929afb9a260f","bugs":{"url":"https://github.com/lolilab/markdown-it-katex/issues"},"homepage":"https://github.com/lolilab/markdown-it-katex#readme","_id":"@andatoshiki/markdown-it-katex@0.0.1-alpha","_nodeVersion":"16.18.0","_npmVersion":"9.4.1","dist":{"integrity":"sha512-HARd0ibXgo8edPGVEX4/T1vFiiAEadwBJDlGq4Y3O2P2pNecanX52RDBKsZQ264/Fcd3mFE3bNX1pzlbxxZBaA==","shasum":"830f464e85c0a92fe8ec630f53650a5127113614","tarball":"https://registry.npmjs.org/@andatoshiki/markdown-it-katex/-/markdown-it-katex-0.0.1-alpha.tgz","fileCount":22,"unpackedSize":1220240,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWUF8MPhg3F+c7MOvVarZbxDIdMqosBrDTrD6UrlnrswIgEEzTrrf4JIynPbBqeRotj2I1VCy0VnYDHvm63a2cCjs="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8LzKACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoQShAAnPqEuX1l52n3IM0HYesE266u8gR6WFIAZx7TfIZBxO461FL6\r\n/CTDNNHIyDJlalVe1FY36o0j0Qf1FBrojxJU2aDnz//sT3gVbgKWhJZ7svea\r\n7aQayYWiPN6Kd5ZvQIEx+JhZECyP5b7Ynexhx6Xv0t8uR99s5/wGwCTJIA3k\r\nJmh5DE4nATjf//AXvMeAE7UvtvukphUhEGUskOUBkJj8WcU5CxPznZkUp+li\r\n1t11qBPABOmAl1MuFq76IKaw5diFSt0BEJ9pYFkqJHzlcQIgAs9IQzPA/Gn0\r\nT1D3XGYNw68yWzStPKvoa4dpmAGtzqpH/3GW6b0ro4mhYnkHvWBQaz0WHwXe\r\nPO4cf03HPXNRvOFP46KT4491eUBXrgpmb7IC0pRnc4zKlkd8TtSrper5uXhY\r\n8vD6aqf7kSZGqS43s5eCc+lQi2rtB8cqxuoWBpaLERrDg+ZgCeOn68cITrVI\r\nui7vE/HoPTPx93/iPOUDoE34NUzhFwUH2lvZKeeFOBybKEUOjh7dwCEpW4nS\r\n/6jvLYPfD7X4fjCMw5hVgQAe0TCfr+KeGp6ndWXPz7YDD/4mB0DZKHDBAFM5\r\nLOjsPerb4GtCVn1ZWACGSELvrj4SBJ7kRRH0Zhx8loK0QNLsOti9TP6xuex0\r\njr+HC+XA5ggHCvsSYXJejZcFJ6nZDUU0XTk=\r\n=xoWP\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andatoshiki","email":"andatoshiki@outlook.com"},"directories":{},"maintainers":[{"name":"andatoshiki","email":"andatoshiki@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-katex_0.0.1-alpha_1676721353820_0.8144997271273968"},"_hasShrinkwrap":false},"0.0.2":{"name":"@andatoshiki/markdown-it-katex","version":"0.0.2","description":"⚒️ Mirror & fork of original deprecated markdown-it-katex package in favor of higher KaTeX version support for personal project usages.","main":"index.js","types":"index.d.ts","scripts":{"watch":"watchify browser.js -o bundle.js -v","test":"uvu","lint":"prettier --write .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","publish-npm":"npm publish --access public --ignore-scripts --@andatoshiiki:registry='https://registry.npmjs.org'","lint-commit":"git commit -m 'chore(lint): lint all files in project via prettier'"},"repository":{"type":"git","url":"git+ssh://git@github.com/lolilab/markdown-it-katex.git"},"keywords":["markdown","KaTeX","math","LaTeX","markdown-it-plugin","markdown-it"],"author":{"name":"Anda Toshiki","email":"hello@toshiki.dev"},"license":"MIT","dependencies":{"katex":"^0.16.0"},"devDependencies":{"markdown-it":"^13.0.1","markdown-it-testgen":"^0.1.6","prettier":"2.8.4","uvu":"^0.5.3","watchify":"4.0.0"},"gitHead":"05db69ced38d5311030e7a434edc6d69d3b95c85","bugs":{"url":"https://github.com/lolilab/markdown-it-katex/issues"},"homepage":"https://github.com/lolilab/markdown-it-katex#readme","_id":"@andatoshiki/markdown-it-katex@0.0.2","_nodeVersion":"16.18.0","_npmVersion":"9.4.1","dist":{"integrity":"sha512-eBx75ZyfHJnadWGA26WK3VMZqmV8nBt/aputAZDPYg7kRvExGOXyX0W3hT6ubRF/6Qus21vMB4ac9a52pZNKqw==","shasum":"546ce916c2c07750883826c9b0eda14a5c4ec0db","tarball":"https://registry.npmjs.org/@andatoshiki/markdown-it-katex/-/markdown-it-katex-0.0.2.tgz","fileCount":22,"unpackedSize":1220967,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCHTZtnmwjNsya+pv4GVJJ/OS9UmrA62iYeKiSFHFcdmgIgW0R2v9BVEdmHZraX75xfifbXd8HDctdVXbbJT5N0QaU="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJj8RaNACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpJhQ/+IQYAjLl+lVznHqEp8su5T/oh21V+lKsu5AGPvLPfCFby2f0V\r\nfLmjKx3LIKinYFZoQXmR6pmbLOmQ+B698ETt9hNqQkBfo3Z92pnEZZVrarE3\r\nJPczQs/kx+R2qEvT3ZpRQqM0ZzEBv3q7gCqI5q7z8dJ1LEG7+o73IntaeJa3\r\nq2FGm+QlZ8I7X4Gvra0elbZi0a1EQFXVYBiTeFC6KUzdzo7jHyzQiwlnT2ye\r\nKyoIdNwwFo+xMwOo6HIjZ4bnaTjWqMlK+9J0O+nO3WRZU+KqOs0JQWew9ym0\r\nlETdWw8IfWatJfPWOMFEOUCQouRxVioQNaYzP5UJVEZ9DogBksGzgbML4XO/\r\nygxDXkUIhIte5J+JwjMx6MeMkC7AttA3fFKoKhfl+xnB7gYQYYnn5us2oII3\r\nG/dlaQbTH8oPDXubekDcegG6rm/KXOUflIA8HQD7lgjyK0bzoNIcqLCsBIOS\r\nQE6GoxjwlqeC889Q5F+Sd7+5c9/O1UXareHVWO62EoiXoyKKtWH+EpDphTqc\r\nMR1lbiLs+WPoNpngeI+A2JqAO93Xf+mus8jL1hQR9kvouuLhOfSzbGnQnADA\r\nN1af7HtQQREkeg1GmxxQuNPV1bQ+7ByvqgIarHF/hJfuzp/jpTgJmAFx/9eJ\r\nGtchjAt1gSzTQA2EPENyN32q735MBbtnvO8=\r\n=pd/k\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andatoshiki","email":"andatoshiki@outlook.com"},"directories":{},"maintainers":[{"name":"andatoshiki","email":"andatoshiki@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-katex_0.0.2_1676744333604_0.18569348566781874"},"_hasShrinkwrap":false},"0.0.3":{"name":"@andatoshiki/markdown-it-katex","version":"0.0.3","description":"⚒️ Mirror & fork of original deprecated markdown-it-katex package in favor of higher KaTeX version support for personal project usages.","main":"index.js","types":"index.d.ts","scripts":{"watch":"watchify browser.js -o bundle.js -v","test":"uvu","lint":"prettier --write .","changelog":"conventional-changelog -p angular -i CHANGELOG.md -s -r 0","publish-npm":"npm publish --access public --ignore-scripts --@andatoshiiki:registry='https://registry.npmjs.org'","lint-commit":"git commit -m 'chore(lint): lint all files in project via prettier'","minify":"uglifyjs index.js -c -m -o markdown-it-katex.min.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/lolilab/markdown-it-katex.git"},"keywords":["markdown","KaTeX","math","LaTeX","markdown-it-plugin","markdown-it"],"author":{"name":"Anda Toshiki","email":"hello@toshiki.dev"},"license":"MIT","dependencies":{"katex":"^0.16.0"},"devDependencies":{"markdown-it":"^13.0.1","markdown-it-testgen":"^0.1.6","prettier":"2.8.4","uglify-es":"^3.3.9","uvu":"^0.5.3","watchify":"4.0.0"},"gitHead":"26d1eafe6f9d221348332265c2cabf278178c80e","bugs":{"url":"https://github.com/lolilab/markdown-it-katex/issues"},"homepage":"https://github.com/lolilab/markdown-it-katex#readme","_id":"@andatoshiki/markdown-it-katex@0.0.3","_nodeVersion":"16.18.0","_npmVersion":"9.4.1","dist":{"integrity":"sha512-DTYMLzSG3WobuZFvrOIOchOd3cmFK+zsDc2Tje+5rCxCAOMVtTyHkDbWlnsKX2/beiuWotTO4r8NZZjSXrB0Vg==","shasum":"898a504c0260f781be9eb6ec33f1c305052fb87e","tarball":"https://registry.npmjs.org/@andatoshiki/markdown-it-katex/-/markdown-it-katex-0.0.3.tgz","fileCount":24,"unpackedSize":1229187,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIH83gKthI6XywPHpOfow0iMDULFrVvCPt0Raa7zMvln6AiEA5ZR7GBNPNYpCXHFSuGA6i+Sg4aIQVqkSzGqHTTjL59M="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkAIwXACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpyKA/9GaleLt8bsIzWLb0LJ23oFvhKLHBs2b2myYSmEbd2CRIxUlrI\r\n913REaKG5jO95/0vddIQlbYEX9u8fR6DaRG4vqRN4QeLBJXeLpb0n+cHQSwA\r\nYu0/3vhM7r0TVNjARfc0JqpzV7sDgU0jDu5ZKiBT6zX3s1AF9lC1vWGXLJkr\r\n80R0OT27kZgDz605fgWizxd+ms+QJRhB2v54gL9gDcE74FWCYanJBPe4OS7c\r\nSxNRodUNk2aSPlAY4HN7alCOejNL7L/JYhpROXiz3sRFArtn6xLG6kY/HlMH\r\nrfFKJiwn0a60GGOOJeTbKQDkCfzwW2aTAakvA+/Djw27fsd2BSwwGk67VIqO\r\nNyjQyaWSPQHYwUtQuQAID2PxtmyvAO3nNfymUFBHNmoQXi9460/UHlgz8hL1\r\nCMuB1utX3zOGb32haplyt4jGTOt64HMiKwAInTGO4j0LrGZA2qPfAdPutPeX\r\ny97NVu2/DzLon7YrJhrD1Rd5BpPctxDr2Kshpu2IeRV3QOeApqyJkRYLgLyz\r\nydMXJuQCYEmbqU/EBeXSfKVOdLkqmfreaa8KyettghNI6njNx7WXOi70nhU8\r\nM5BVPfjElfyuR113O0ZVTuVR2vLfXgc3QMu8PwGcqtTBPOROp9IuZwji4uuy\r\ncKZDpCu7f0EKAC4Y/ziy+1NHaZwX8LaN9qU=\r\n=dpw0\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"andatoshiki","email":"andatoshiki@outlook.com"},"directories":{},"maintainers":[{"name":"andatoshiki","email":"andatoshiki@outlook.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-katex_0.0.3_1677757463508_0.13337135082685525"},"_hasShrinkwrap":false}},"time":{"created":"2023-02-18T11:55:53.734Z","0.0.1-alpha":"2023-02-18T11:55:54.173Z","modified":"2023-03-02T11:44:23.802Z","0.0.2":"2023-02-18T18:18:53.821Z","0.0.3":"2023-03-02T11:44:23.712Z"},"maintainers":[{"name":"andatoshiki","email":"andatoshiki@outlook.com"}],"description":"⚒️ Mirror & fork of original deprecated markdown-it-katex package in favor of higher KaTeX version support for personal project usages.","homepage":"https://github.com/lolilab/markdown-it-katex#readme","keywords":["markdown","KaTeX","math","LaTeX","markdown-it-plugin","markdown-it"],"repository":{"type":"git","url":"git+ssh://git@github.com/lolilab/markdown-it-katex.git"},"author":{"name":"Anda Toshiki","email":"hello@toshiki.dev"},"bugs":{"url":"https://github.com/lolilab/markdown-it-katex/issues"},"license":"MIT","readme":"# @andatoshiki/markdown-it-katex\n\n[![npm version](https://badge.fury.io/js/%40lolilab%2Fmarkdown-it-katex.svg)](https://badge.fury.io/js/%40lolilab%2Fmarkdown-it-katex)\n![check npm ci & run test](https://github.com/lolilab/markdown-it-katex/workflows/check%20npm%20ci%20&%20run%20test/badge.svg)\n[![CI/CD pipeline](https://github.com/lolilab/markdown-it-katex/actions/workflows/npm.yml/badge.svg)](https://github.com/lolilab/markdown-it-katex/actions/workflows/npm.yml)\n\nAdd KaTeX rendering to your Markdown\n\n## Usage\n\n```shell\n$ npm install @andatoshiki/markdown-it-katex\n```\n\nIncluding KaTeX CSS is needed.\n\n### Options\n\n- `katex`: You can change KaTeX version by passing the instance.\n- `blockClass`: Class added to KaTeX block.\n- Any KaTeX Options\n\n```js\nmd.use(mk, { blockClass: 'math-block', errorColor: ' #cc0000' })\n```\n\n## Examples\n\n### Inline\n\nSurround your LaTeX with a single `$` on each side for inline rendering.\n\n```\n$\\sqrt{3x-1}+(1+x)^2$\n```\n\n### Block\n\nUse two (`$$`) for block rendering. This mode uses bigger symbols and centers\nthe result.\n\n```\n$$\\begin{array}{c}\n\n\\nabla \\times \\vec{\\mathbf{B}} -\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{E}}}{\\partial t} &\n= \\frac{4\\pi}{c}\\vec{\\mathbf{j}}    \\nabla \\cdot \\vec{\\mathbf{E}} & = 4 \\pi \\rho \\\\\n\n\\nabla \\times \\vec{\\mathbf{E}}\\, +\\, \\frac1c\\, \\frac{\\partial\\vec{\\mathbf{B}}}{\\partial t} & = \\vec{\\mathbf{0}} \\\\\n\n\\nabla \\cdot \\vec{\\mathbf{B}} & = 0\n\n\\end{array}$$\n```\n\n## Syntax\n\nMath parsing in markdown is designed to agree with the conventions set by pandoc:\n\n    Anything between two $ characters will be treated as TeX math. The opening $ must\n    have a non-space character immediately to its right, while the closing $ must\n    have a non-space character immediately to its left, and must not be followed\n    immediately by a digit. Thus, $20,000 and $30,000 won’t parse as math. If for some\n    reason you need to enclose text in literal $ characters, backslash-escape them and\n    they won’t be treated as math delimiters.\n\n## Math Syntax Support\n\nKaTeX is based on TeX and LaTeX. Support for both is growing. Here's a list of\ncurrently supported functions:\n\n[Function Support in KaTeX](https://katex.org/docs/supported.html)\n","readmeFilename":"README.md"}