Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@nteract/mathjax
Advanced tools
This package contains two main components, <MathJax.Context>
and <MathJax.Node>
. The <MathJax.Context>
component loads MathJax and makes it available to children elements via the React Context API. <MathJax.Node>
takes raw text for rendering and uses MathJax to render formatted math.
$ yarn add @nteract/mathjax
$ npm install --save @nteract/mathjax
The Redux reducer below shows how we can leverage the actions and action types in this package to create a reducer for managing the status of a save event.
import MathJax from "@nteract/mathjax";
export default text => {
return (
<MathJax.Context>
<MathJax.Node>{`x^2 + y^2 = z^2`}</MathJax.Node>
<MathJax.Node>{text}</MathJax.Node>
</MathJax.Context>
);
};
You can view the reference documentation for @nteract/mathjax
in the component docs.
If you experience an issue while using this package or have a feature request, please file an issue on the issue board and add the pkg:mathjax
label.
FAQs
React components for MathJax
The npm package @nteract/mathjax receives a total of 5,271 weekly downloads. As such, @nteract/mathjax popularity was classified as popular.
We found that @nteract/mathjax demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 17 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.