You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
How can I support LaTeX math expressions enclosed in square brackets [ E = mc^2 ] in React application?
I’m using the ReactMarkdown component from react-markdown along with the remark-math and rehype-katex plugins. Specifically, I want to render LaTeX block math expressions like this:
How can I properly render these expressions with the bracket delimiters [ ]? Are there any options or configurations I should add to make this work?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
How can I support LaTeX math expressions enclosed in square brackets [ E = mc^2 ] in React application?
I’m using the ReactMarkdown component from react-markdown along with the remark-math and rehype-katex plugins. Specifically, I want to render LaTeX block math expressions like this:
How can I properly render these expressions with the bracket delimiters [ ]? Are there any options or configurations I should add to make this work?
Beta Was this translation helpful? Give feedback.
All reactions