{"id":14981013,"url":"https://github.com/samypesse/react-mathjax","last_synced_at":"2025-04-07T13:08:36.289Z","repository":{"id":14209613,"uuid":"76115653","full_name":"SamyPesse/react-mathjax","owner":"SamyPesse","description":"React component to display math formulas","archived":false,"fork":false,"pushed_at":"2022-12-03T03:21:09.000Z","size":558,"stargazers_count":92,"open_issues_count":37,"forks_count":35,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-14T12:31:22.293Z","etag":null,"topics":["latex","mathjax","react"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SamyPesse.png","metadata":{"files":{"readme":"README.md","changelog":"HISTORY.md","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-12-10T13:57:07.000Z","updated_at":"2024-04-07T03:32:32.000Z","dependencies_parsed_at":"2023-01-13T17:50:25.440Z","dependency_job_id":null,"html_url":"https://github.com/SamyPesse/react-mathjax","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamyPesse%2Freact-mathjax","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamyPesse%2Freact-mathjax/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamyPesse%2Freact-mathjax/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SamyPesse%2Freact-mathjax/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SamyPesse","download_url":"https://codeload.github.com/SamyPesse/react-mathjax/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247657281,"owners_count":20974345,"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":["latex","mathjax","react"],"created_at":"2024-09-24T14:02:44.406Z","updated_at":"2025-04-07T13:08:36.267Z","avatar_url":"https://github.com/SamyPesse.png","language":"JavaScript","readme":"# `react-mathjax`\n\n[![NPM version](https://badge.fury.io/js/react-mathjax.svg)](http://badge.fury.io/js/react-mathjax)\n\nReact component to display math formulas.\n\n### Installation\n\n```\n$ npm i react-mathjax --save\n```\n\n### Usage\n\n```js\nconst MathJax = require('react-mathjax')\nconst tex = `f(x) = \\\\int_{-\\\\infty}^\\\\infty\n    \\\\hat f(\\\\xi)\\\\,e^{2 \\\\pi i \\\\xi x}\n    \\\\,d\\\\xi`\n\nmodule.exports = () =\u003e {\n    return (\n        \u003cMathJax.Provider\u003e\n            \u003cdiv\u003e\n                This is an inline math formula: \u003cMathJax.Node inline formula={'a = b'} /\u003e\n                And a block one:\n\n                \u003cMathJax.Node formula={tex} /\u003e\n            \u003c/div\u003e\n        \u003c/MathJax.Provider\u003e\n    );\n}\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamypesse%2Freact-mathjax","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsamypesse%2Freact-mathjax","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsamypesse%2Freact-mathjax/lists"}