SamyPesse / react-mathjax

React component to display math formulas
Apache License 2.0
95 stars 35 forks source link

more than basic usage example #12

Open pyramation opened 7 years ago

pyramation commented 7 years ago

I think this will help a lot of folks.

SamyPesse commented 7 years ago

I'm not sure this usecase should be showcased. Mainly because it's not expected.

It gives the impression that it'll process equations in the <MathJax.Context>, while it'll happen in the whole document.

pyramation commented 7 years ago

@SamyPesse is there a way to reopen the original issue (https://github.com/SamyPesse/react-mathjax/issues/4)?

I personally don't want to use the MathJax.Node, I think it's too granular to type for every equation, as it defeats the purpose of writing LaTeX. Is there a way to make something like this MathJax.Context example work?