Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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:




);
}
```