Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/samypesse/react-mathjax
React component to display math formulas
https://github.com/samypesse/react-mathjax
latex mathjax react
Last synced: 7 days ago
JSON representation
React component to display math formulas
- Host: GitHub
- URL: https://github.com/samypesse/react-mathjax
- Owner: SamyPesse
- License: apache-2.0
- Created: 2016-12-10T13:57:07.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2022-12-03T03:21:09.000Z (about 2 years ago)
- Last Synced: 2024-04-14T12:31:22.293Z (8 months ago)
- Topics: latex, mathjax, react
- Language: JavaScript
- Size: 545 KB
- Stars: 92
- Watchers: 3
- Forks: 35
- Open Issues: 37
-
Metadata Files:
- Readme: README.md
- Changelog: HISTORY.md
- License: LICENSE
Awesome Lists containing this project
README
# `react-mathjax`
[![NPM version](https://badge.fury.io/js/react-mathjax.svg)](http://badge.fury.io/js/react-mathjax)
React component to display math formulas.
### Installation
```
$ npm i react-mathjax --save
```### Usage
```js
const MathJax = require('react-mathjax')
const tex = `f(x) = \\int_{-\\infty}^\\infty
\\hat f(\\xi)\\,e^{2 \\pi i \\xi x}
\\,d\\xi`module.exports = () => {
return (
This is an inline math formula:
And a block one:
);
}
```