{"id":20744276,"url":"https://github.com/mathjax/mathjax-dev","last_synced_at":"2026-04-02T02:01:46.404Z","repository":{"id":1179320,"uuid":"1077760","full_name":"mathjax/MathJax-dev","owner":"mathjax","description":"Build and release tools for the MathJax project","archived":false,"fork":false,"pushed_at":"2026-02-15T17:27:16.000Z","size":7122,"stargazers_count":34,"open_issues_count":10,"forks_count":23,"subscribers_count":8,"default_branch":"v3-tools","last_synced_at":"2026-03-27T05:32:09.456Z","etag":null,"topics":["development-tools","fonts","mathjax","mathml"],"latest_commit_sha":null,"homepage":"www.mathjax.org","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2010-11-13T17:24:26.000Z","updated_at":"2025-12-02T12:26:33.000Z","dependencies_parsed_at":"2024-03-08T02:26:08.856Z","dependency_job_id":"8148ff20-260f-47b5-861a-6fc61b2dca6f","html_url":"https://github.com/mathjax/MathJax-dev","commit_stats":{"total_commits":83,"total_committers":2,"mean_commits":41.5,"dds":0.06024096385542166,"last_synced_commit":"0025bba3c44f6a0af0279dce5cc925babe2fab39"},"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/mathjax/MathJax-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mathjax","download_url":"https://codeload.github.com/mathjax/MathJax-dev/tar.gz/refs/heads/v3-tools","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mathjax%2FMathJax-dev/sbom","scorecard":{"id":624638,"data":{"date":"2025-08-11","repo":{"name":"github.com/mathjax/MathJax-dev","commit":"0025bba3c44f6a0af0279dce5cc925babe2fab39"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.9,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Code-Review","score":2,"reason":"Found 1/5 approved changesets -- score normalized to 2","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'v3-tools'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 28 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-21T06:04:02.833Z","repository_id":1179320,"created_at":"2025-08-21T06:04:02.833Z","updated_at":"2025-08-21T06:04:02.833Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31294369,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-02T01:43:37.129Z","status":"online","status_checked_at":"2026-04-02T02:00:08.535Z","response_time":89,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["development-tools","fonts","mathjax","mathml"],"created_at":"2024-11-17T07:14:53.422Z","updated_at":"2026-04-02T02:01:46.368Z","avatar_url":"https://github.com/mathjax.png","language":"JavaScript","readme":"# MathJax v3 Developers Tools\n\nSome developers tools for testing local MathJax v3 code base.\n\n## General setup\n\nTo run most scripts in the tools you need to connect to your current version of\nMathJax3.  Assuming that MathJax3 sources are at `\u003cMJ3-PATH\u003e` you need to link\nin the JavaScript sources there:\n\n``` shell\nln -s \u003cMJ3-PATH\u003e mathjax3\n```\nFor the remainder we assume that this symlink has been set.\n\n## Getting the Lab to work\n\n\nYou need to install the MathJax context menu first:\n\n``` shell\nnmp install mj-context-menu\n```\n\nCreate a symbolic link for the context menu. MathJax expects it to be _in parallel_ to its code.\n\n``` shell\nln -s node_modules/mj-context-menu\n```\n\nThen run the lab by loading `v3-lab.html` in your webbrowser via a local\nwebserver. E.g., create a symbolic link\n\n\n``` shell\nsudo ln -s \u003cMathJax-dev-PATH\u003e /var/www/html/\n```\n\nRun the lab on `localhost` using the URL\n\n``` shell\nhttp://localhost/MathJax-dev/v3-lab.html\n```\n\nOr alternatively serve directly from the directory, i.e., by running a python server:\n\n``` shell\npython -m SimpleHTTPServer 8000\n```\nand then run the lab at the following URL\n\n``` shell\nhttp://localhost:8000/v3-lab.html\n```\n\n\n## Running Samples\n\nSamples are small scripts to test various MathJax features or to use MathJax\ndirectly for a specific purpose. They are particularly useful to work with local\nMathJax variants or test changes to the code base directly. Samples can be run\nusing `node` or in a browser.\n\n### Running Samples in Node\n\nSamples are run in `node` using the `esm` package on load. You need to first install `esm` by\n\n``` shell\nnpm install esm\n```\n\nThe general command to run scripts is then:\n\n``` shell\nnode -r esm samples/\u003cSCRIPT\u003e.js \u003cINPUT\u003e\n```\n\nAs example consider the script to parse LaTeX expressions into MathML:\n\n``` shell\nnode -r esm samples/tex2mml.js x^2\n```\n\n``` html\n\u003cmath display=\"block\"\u003e\n  \u003cmsup\u003e\n    \u003cmi\u003ex\u003c/mi\u003e\n    \u003cmn\u003e2\u003c/mn\u003e\n  \u003c/msup\u003e\n\u003c/math\u003e\n```\n\n### Running Samples in a Browser\n\nSamples can be run in the browser using the `load.html` page. This either loads\nthe `main.js` file or the particular sample file given in the parameters. For example, running\n\n[http://localhost/v3-dev/load.html?samples/asciimath-document.js](http://localhost/v3-dev/load.html?samples/asciimath-document.js)\n\nwill give you a rendered page of AsciiMath expressions in the browser. Note,\nthat the output will also be displayed on the console. In fact, many scripts\nwill only produce console output. For example, the URL:\n\n[http://localhost/v3-dev/load.html?samples/tex2mml.js\u0026x^2](http://localhost/v3-dev/load.html?samples/tex2mml.js\u0026x^2)\n\nwill print the corresponding MathML expression in the console:\n\n``` html\n\u003cmath display=\"block\"\u003e\n  \u003cmsup\u003e\n    \u003cmi\u003ex\u003c/mi\u003e\n    \u003cmn\u003e2\u003c/mn\u003e\n  \u003c/msup\u003e\n\u003c/math\u003e\n```\n\n\n### Scripts\n\nSample names should be self-explanatory.\n\n``` shell\nsamples/asciimath-document.js\nsamples/asciimath-json.js\nsamples/asciimath2mml-component.js\nsamples/asciimath2mml.js\nsamples/asyncLoad.js\nsamples/bits.js\nsamples/css.js\nsamples/find-asciimath.js\nsamples/find-mml.js\nsamples/find-strings.js\nsamples/find-tex-dollars.js\nsamples/find-tex.js\nsamples/html-full.js\nsamples/mfenced.js\nsamples/mml-bbox.js\nsamples/mml-nodes.js\nsamples/mml2html.js\nsamples/mml2svg.js\nsamples/notagids.js\nsamples/tag-format.js\nsamples/tex-document.js\nsamples/tex-json.js\nsamples/tex-multi-document.js\nsamples/tex-nodes.js\nsamples/tex-string.js\nsamples/tex2html.js\nsamples/tex2mml-component.js\nsamples/tex2mml-require.js\nsamples/tex2mml-speech.js\nsamples/tex2mml.js\nsamples/tex2svg-speech.js\nsamples/tex2svg.js\n```\n\nThe following two scripts need `jsdom` package for testing:\n\n``` shell\nsamples/test-adaptor.js\nsamples/test-styles.js\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathjax%2Fmathjax-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmathjax%2Fmathjax-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmathjax%2Fmathjax-dev/lists"}