{"_id":"@aetf/markdown-it-katex","_rev":"3-a238ca3811d42498eeba28f646ef9a79","name":"@aetf/markdown-it-katex","dist-tags":{"latest":"2.2.0"},"versions":{"2.0.3":{"name":"@aetf/markdown-it-katex","version":"2.0.3","description":"Fast math support for markdown-it with KaTeX","main":"index.js","scripts":{"watch":"watchify browser.js -o bundle.js -v","test":"node test/all.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Aetf/markdown-it-katex.git"},"keywords":["markdown","KaTeX","math","LaTeX","markdown-it-plugin","markdown-it"],"author":{"name":"aetf@unlimitedcodeworks.xyz"},"license":"MIT","dependencies":{"katex":"^0.10.0"},"devDependencies":{"markdown-it":"^8.4.2","markdown-it-testgen":"^0.1.4","tape":"^4.5.1","watchify":"^3.11.0"},"gitHead":"cd42919d2d35dfeefdcfe51bc3783e7f094e28cb","bugs":{"url":"https://github.com/Aetf/markdown-it-katex/issues"},"homepage":"https://github.com/Aetf/markdown-it-katex#readme","_id":"@aetf/markdown-it-katex@2.0.3","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"aetf","email":"aetf@unlimitedcodeworks.xyz"},"dist":{"integrity":"sha512-oZveBOmi97Ze47nIo9qKAJbMCejcuk7wRXG2oJ+sJTepal2ccpy6ZC/Fjw9L7AdURyK7X8UyoczCV7SGzjTTEQ==","shasum":"2d64973bbf28e5595c4cae0f3cda1b24d3ff445a","tarball":"https://registry.npmjs.org/@aetf/markdown-it-katex/-/markdown-it-katex-2.0.3.tgz","fileCount":9,"unpackedSize":34180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb60T5CRA9TVsSAnZWagAAvz8P/3H4So43CTW9hWmjh8Jz\n4P9cIYbXJWf6WupFMwgFsyeS4K1HbcR3i4nX0BRqwc5IRjMYwz8Dwhz+2e6j\nZrpu7ObyWiigXwgDGToNuP526lKgxnOA+GOiXR0sPhZfmGtoen5Bxb4AAYTr\nY6i/WvUbtRMLuF3QsFgaGjdT3KdUeAtm5uGS4Fh79fTDuXeOZcUrTZ1fw4uJ\nM7cMAQQoIlUlxL2UlqlZrNGEPa+YijoHa+ve5URmZkjKTXNRKD9dfmrUHXFT\n9f3GTeyWqxmFBjCi0hb3jfmxEb2q2l2wO0QY9bnGxKx6XVwAl+QD0y0HdOdP\n34PibAwrxJ2GDn0Qe0il3z3/Cixaz46fxF+BkB65RGzxA0hPefdMnHSiQ2JD\npA2M3H88qz3rY4ptsvFkRuAkyU1gb9fln/QX75TDnaEMgw6EBvjdY0xbmURD\nhSsfzodxG7XwWYUH/3n+8KrBkLrI9/SJm4zWXVZouPinSsXSz4Cg992W9C3e\nEsNSef1kI4ZcPau5zrId+whUP+yywpDEVziU7d/0vRwo23XbzwW4QfAWHqVi\n7Ch0aWYVefxvv2rzyRyKGhBntMefHu33oxvLE4xypREQewAJ1oF27aY63XoX\nR1Gt945BYphE22fbKFQilxy+rcPgP+EHd3L5t9F+InP/bnaS9ODX7V2HzShd\nq7iB\r\n=dYkU\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCTSTRz7AMso7ZD5wyLZxldmXivFuQIj0DeiwB0Yat4fAIhAOsLhHMyn9YRE6xsDAjtnmkC2qUzb1PXR5oY3hNtVKDe"}]},"maintainers":[{"name":"aetf","email":"aetf@unlimitedcodeworks.xyz"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-katex_2.0.3_1542145272562_0.7172879318458885"},"_hasShrinkwrap":false},"2.1.0":{"name":"@aetf/markdown-it-katex","version":"2.1.0","description":"Fast math support for markdown-it with KaTeX","main":"index.js","scripts":{"watch":"watchify browser.js -o bundle.js -v","test":"node test/all.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Aetf/markdown-it-katex.git"},"keywords":["markdown","KaTeX","math","LaTeX","markdown-it-plugin","markdown-it"],"author":{"name":"aetf@unlimitedcodeworks.xyz"},"license":"MIT","dependencies":{"katex":"^0.10.0"},"devDependencies":{"markdown-it":"^8.4.2","markdown-it-testgen":"^0.1.4","tape":"^4.5.1","watchify":"^3.11.0"},"gitHead":"0bdb0aed9955190da7b415ebd457deb25a04d5a7","bugs":{"url":"https://github.com/Aetf/markdown-it-katex/issues"},"homepage":"https://github.com/Aetf/markdown-it-katex#readme","_id":"@aetf/markdown-it-katex@2.1.0","_npmVersion":"6.4.1","_nodeVersion":"11.1.0","_npmUser":{"name":"aetf","email":"aetf@unlimitedcodeworks.xyz"},"dist":{"integrity":"sha512-YDRCazqaVOPCZgHvmd2J/3pAiXwrYqSPJ1qy76MxWpDpowy7RgmOXbac2SOttP38L5R/89Ms7jGQXJdq2x15fw==","shasum":"3ed081cfc73e6552a77bf7acac3c11568721bf7d","tarball":"https://registry.npmjs.org/@aetf/markdown-it-katex/-/markdown-it-katex-2.1.0.tgz","fileCount":9,"unpackedSize":34180,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb60VLCRA9TVsSAnZWagAA5N0P/RIyAzis93EK4tD7e0Ix\n2qjMFvQZN1I/qJ/5Fs5fLhKhliXMGbw+TW6eYVae/60htwGjJcsTU/ei9Jy2\nTlaT4xGRXw6DYjv3nDgRNoz0FPApKwVEmODB1llLEY5H+tET2fjo9AegTesz\nDiA3qxYdA4/xNmairhq22jfFBG+MyQNdJEfF+4gqYLrliHwUDF2TZ+Tm7Ixy\nyiQ1/vu8CTgGrI8oNkyMZMRcZ0324JMKdu81N74ijXKRGgBiT/y2JBjWe9fI\nc8a6wQmjXUkIOaXadbOavdrAHtqvmM+2wyIzQ6WqtNkdhh1CHAlZIabvMYl+\nudxuieP5GSiue7osZ9aATtn2E6hlkbUjTTPhiyKMrwOL4YPOPfIRpYM6Yvtw\niX17Mz7qr7r11/JGDWIz0KQKedS+nLWsETuA1cm9HbjzrFMg9i+YV3QXz8JL\nvW1WHC7Xk5aqGMaqd4ym8rvQYVwepcEWDdUtm4kEGcMKeC7ipX3nT7zF6VJm\nYhMsGGNCaQYgsuAq2XIbDTPmQ4oINnujuvRpmVdOzu5BC6hVpB66nNLbLyrB\nDJkG0lZyeudRFSNbaYSBM+Hfjbj77Uw/l+Sr1amDPT0QR6znP8wBPga6dnRC\nq9MXsM/+0avsk9TW1nGvJJ1Z4UashVsTaVaeW2mdOpIk5HLTmvX6tuogq0zQ\ne/w5\r\n=3p2z\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/44xNLhUbJ4z0221gaw4u4YZrqFvTDQGSZH0aIkEuOAiEAoYnxjgR+ep6mrJW9e3ckZkK2WMAg4+Apd2tdCiWgnCs="}]},"maintainers":[{"name":"aetf","email":"aetf@unlimitedcodeworks.xyz"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-katex_2.1.0_1542145354816_0.7245698777672935"},"_hasShrinkwrap":false},"2.2.0":{"name":"@aetf/markdown-it-katex","version":"2.2.0","description":"Fast math support for markdown-it with KaTeX","main":"index.js","scripts":{"watch":"watchify browser.js -o bundle.js -v","test":"node test/all.js"},"repository":{"type":"git","url":"git+ssh://git@github.com/Aetf/markdown-it-katex.git"},"keywords":["markdown","KaTeX","math","LaTeX","markdown-it-plugin","markdown-it"],"author":{"name":"aetf@unlimitedcodeworks.xyz"},"license":"MIT","dependencies":{"katex":"^0.11.1"},"devDependencies":{"markdown-it":"^10.0.0","markdown-it-testgen":"^0.1.6","tape":"^4.13.2","watchify":"^3.11.1"},"gitHead":"031259178f92de7a85af2326e20e88649e72c081","bugs":{"url":"https://github.com/Aetf/markdown-it-katex/issues"},"homepage":"https://github.com/Aetf/markdown-it-katex#readme","_id":"@aetf/markdown-it-katex@2.2.0","_nodeVersion":"13.9.0","_npmVersion":"6.14.2","dist":{"integrity":"sha512-V8agNBlHiGROAGtpWD9ouMsrVg2/ApuC4uiCM0QruWdZqegdZsdKuwAvv3lbj8z4tImEnwoO6x9anxIaAFCArA==","shasum":"f0bc477d43666b2d1331056e2230c8ae55ad5461","tarball":"https://registry.npmjs.org/@aetf/markdown-it-katex/-/markdown-it-katex-2.2.0.tgz","fileCount":9,"unpackedSize":35017,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeYFNXCRA9TVsSAnZWagAAN/kP/irXGGc584wHcjjdShF6\nb7Bx4V8b1Dy7aX+Vor5rKQB+JWuRu0Q9ujesHiq9VU/awGbiCGr6nUsazPxh\nJ7MOq42I0gk0yhjNmZQfD7Ze9twPOVuZrAiUt2GnQoNYN0sTSW5gsYUk6SaR\nPpOcka6ekLcvUNMpWioWeco3mQ8tWVUIdjHi9McqjHyf9lEN2J1cFPfoWfSj\nyv+RV1Je0KbBN1YPTmIo1MxcvB2yXCW8AHPxq3MF6Bhb2QwkEL3+XK61jGC7\nMQ5e9sYI0fJ/4LZsmGi4IR2AxQ2Z8BNepp+ii5X5Zh4/TgUnF1xkvMMGnutJ\nSb2JfJIuIbtka4P3aXjhQE/YuhvZoynd/jGgNVR+9aHmkiFq4/Hb4dJecoaI\nJKGzKXiCK2n/5HMjQst0h9W2PZRjS7hq4jnvpBMFEanP4B/O31r/fCyBnfGq\nXaKE/f0bJouHjG7X3V/pvzQusbHCiTbmu9wUykj5txdHVzmowwJDMKUgO/CI\nN12il2WDK2Um3lp75A8PDcVe/Eu07h6XWiSvDo+OghRUgfeLCmGihUJPYG3G\n7/Quc+Oy5JaW6DpeVF4YQ4JzIJCOfhOhNwNFp5Sj1YKExQGDbcPXTBK2BXun\nbt2Y0F0kfkKepi/LN9y8nLa1yYVVS/lrFCPOxUAMjJlR45gT03X9138Z1YhS\nM0GF\r\n=ZYgW\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDRo/TKVQ22JxSxTFTI9zUD5jg/xXQrSMcNUjAC75BT4wIgLJkzdEOczBllaWM5xZhsHO/G3qHuxlUpM7hAZxgr6+w="}]},"maintainers":[{"name":"aetf","email":"aetf@unlimitedcodeworks.xyz"}],"_npmUser":{"name":"aetf","email":"aetf@unlimitedcodeworks.xyz"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/markdown-it-katex_2.2.0_1583371095320_0.8271555141883549"},"_hasShrinkwrap":false}},"time":{"created":"2018-11-13T21:41:12.392Z","2.0.3":"2018-11-13T21:41:12.708Z","modified":"2022-04-04T11:49:52.671Z","2.1.0":"2018-11-13T21:42:34.989Z","2.2.0":"2020-03-05T01:18:15.417Z"},"maintainers":[{"name":"aetf","email":"aetf@unlimitedcodeworks.xyz"}],"description":"Fast math support for markdown-it with KaTeX","homepage":"https://github.com/Aetf/markdown-it-katex#readme","keywords":["markdown","KaTeX","math","LaTeX","markdown-it-plugin","markdown-it"],"repository":{"type":"git","url":"git+ssh://git@github.com/Aetf/markdown-it-katex.git"},"author":{"name":"aetf@unlimitedcodeworks.xyz"},"bugs":{"url":"https://github.com/Aetf/markdown-it-katex/issues"},"license":"MIT","readme":"# markdown-it-katex\n\nAdd Math to your Markdown\n\n[![Build Status](https://travis-ci.com/Aetf/markdown-it-katex.svg?branch=master)](https://travis-ci.com/Aetf/markdown-it-katex)\n\n[KaTeX](https://github.com/Khan/KaTeX) is a faster alternative to MathJax. This plugin makes it easy to support in your markdown.\n\nNeed convincing?\n\n* Check out the comparative benchmark: [KaTeX vs MathJax](https://jsperf.com/katex-vs-mathjax/42)\n* Try it in your browser: [markdown-it-katex demo](http://aetf.github.io/markdown-it-katex/)\n\n## Usage\n\nInstall markdown-it\n\n```bash\nnpm install markdown-it\n```\n\nInstall the plugin\n\n```bash\nnpm install markdown-it-katex\n```\n\nUse it in your javascript\n\n```javascript\nvar md = require('markdown-it')(),\n    mk = require('markdown-it-katex');\n\nmd.use(mk);\n\n// double backslash is required for javascript strings, but not html input\nvar result = md.render('# Math Rulez! \\n  $\\\\sqrt{3x-1}+(1+x)^2$');\n```\n\nInclude the KaTeX stylesheet in your html:\n\n```html\n<link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.5.1/katex.min.css\">\n```\n\nIf you're using the default markdown-it parser, I also recommend the [github stylesheet](https://github.com/sindresorhus/github-markdown-css):\n\n```html\n<link rel=\"stylesheet\" href=\"https://cdn.jsdelivr.net/github-markdown-css/2.2.1/github-markdown.css\"/>\n```\n\n`KaTeX` options can be supplied with the second argument to use.\n\n```javascript\nmd.use(mk, {\"throwOnError\" : false, \"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```raw\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://github.com/Khan/KaTeX/wiki/Function-Support-in-KaTeX)\n","readmeFilename":"README.md"}