{"id":20744256,"url":"https://github.com/mathjax/mathjax-third-party-extensions","last_synced_at":"2025-08-21T15:31:07.480Z","repository":{"id":8950658,"uuid":"10687227","full_name":"mathjax/MathJax-third-party-extensions","owner":"mathjax","description":"A collection of MathJax extensions provided by third-party contributors","archived":false,"fork":false,"pushed_at":"2020-08-18T18:38:40.000Z","size":1723,"stargazers_count":76,"open_issues_count":6,"forks_count":31,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-12-13T00:11:25.846Z","etag":null,"topics":["extensions","mathjax","third-party-libraries"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mathjax.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-06-14T11:02:28.000Z","updated_at":"2023-12-24T14:19:42.000Z","dependencies_parsed_at":"2022-09-16T01:34:45.978Z","dependency_job_id":null,"html_url":"https://github.com/mathjax/MathJax-third-party-extensions","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-third-party-extensions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-third-party-extensions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-third-party-extensions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-third-party-extensions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathjax","download_url":"https://codeload.github.com/mathjax/MathJax-third-party-extensions/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230520390,"owners_count":18238948,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["extensions","mathjax","third-party-libraries"],"created_at":"2024-11-17T07:14:49.494Z","updated_at":"2024-12-20T01:13:57.587Z","avatar_url":"https://github.com/mathjax.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"mathjax-third-party-extensions\n==============================\n\nA list of MathJax extensions provided by third-party contributors for MathJax version 2.\n\n**WARNING**: This repository is for version 2 of MathJax.  The API for extensions is quite different for version 3.  See the [MathJax Documentation](https://docs.mathjax.org/en/latest/advanced/extensions.html) for more on extensions in version 3.\n\n**Note**: An older version of this repository was retired alongside the MathJax CDN in 2017; see [#39](https://github.com/mathjax/MathJax-third-party-extensions/issues/39).\n\n## Third Party Extensions for MathJax v2\n\n* [arabic.js](https://github.com/Edraak/arabic-mathjax-dev)\n  * TeX input extension that provides basic Arabic support.\n* [mhchem](https://github.com/mhchem/MathJax-mhchem)\n  * TeX input extension for typesetting chemical equations, by the maintainer of the original `mhchem` LaTeX package.\n* [img](https://github.com/pkra/mathjax-img)\n  * TeX input extension for using images\n* [xyjax](https://github.com/sonoisa/XyJax)\n  * TeX input extension for typesetting `xypic` diagrams.\n* [siunitx](https://github.com/burnpanck/MathJax-siunitx)\n  * TeX input extension implementing much of the `siunitx` LaTeX package.\n* [physics](https://github.com/ickc/MathJax-third-party-extensions/tree/gh-pages/physics)\n  * TeX input extension implementing much of the `physics` LaTeX package.\n\n### Legacy extension\n\nYou can find older (unmaintained) extensions in the `legacy` folder of this repository.\n\n## Contributing\n\nAdd your extension! Simply create a pull request adding a link to `README.md`.\n\nPlease structure your extension along the lines of existing third-party extensions. In particular, make sure that\n\n* Add a `README` file\n  * Include basic usage information for your extension (see other extensions for inspiration).\n* Add a license.\n  * We require Apache-license-2-compatible licenses.\n* Custom path in `loadComplete` call\n  * The `loadComplete` call in your extension should be of the form `[myextension]/filename.js` to work generically with third party locations.\n  * **Note** a clash of your prefix with another extension's prefix will usually mean that people can't use both extensions at the same time.\n* Tag it!\n  * individual releases allow version specific loading from CDN providers.\n\nWe also suggest submitting your extension to [cdnjs](https://cdnjs.com) and [jsdelivr](https://www.jsdelivr.com) -- and of course there's always [rawgit.com](https://rawgit.com).\n\n## Using third party extensions.\n\nFor more details, [see the MathJax documentation](https://docs.mathjax.org/en/v2.7-latest/options/ThirdParty.html#custom-extension-path-configuration).\n\nA) Specify the path, e.g.,\n\n```html\n\u003cscript type=\"text/x-mathjax-config\"\u003e\n  MathJax.Ajax.config.path[\"spiffy\"] = \"https://path/to/spiffy\";\n\u003c/script\u003e\n```\n\nor equivalently,\n\n```html\n\u003cscript type=\"text/javascript\"\u003e\n  window.MathJax = {\n    AuthorInit: function () {\n            MathJax.Ajax.config.path[\"spiffy\"] = \"https://path/to/spiffy\";\n        }\n  };\n\u003c/script\u003e\n```\n\nB) Add the extension to your configuration, e.g.,\n\n```js\nMathJax.Hub.Config({\n  extensions: [\"[spiffy]/spiffy.js\"]\n});\n```\n\n## Writing extensions\n\nThe MathJax documentation [contains a tutorial on extension writing](https://docs.mathjax.org/en/v2.7-latest/advanced/extension-writing.html).\n\nAfterwards, you might want to start by looking at some of the extensions here and [the MathJax core extensions](https://github.com/mathjax/MathJax/tree/legacy-v2/unpacked/extensions).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathjax%2Fmathjax-third-party-extensions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathjax%2Fmathjax-third-party-extensions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathjax%2Fmathjax-third-party-extensions/lists"}