Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@nagwa-limited/mathlive
Advanced tools
This repo is a refactor of the original Nagwa MathLive repo.
It is supposed to have an upstream Zeyad's MathLive forked repo, which also has an upstream Arnog's MathLive Repo.
After Refactoring is done, the content of this repo should replace the original Nagwa MathLive repo.
MathLive is a powerful web component that provides an easy-to-use interface for editing math formulas. With over 800 built-in LaTeX commands, MathLive enables beautiful, TeX-quality typesetting. It's designed for mobile devices with an extensive set of virtual keyboards for math input, and is also compatible with screen readers, including custom math-to-speech support for improved accessibility. In addition, MathLive outputs to LaTeX, MathML, ASCIIMath, and MathJSON formats, making it incredibly versatile. And the best part? It's easy to customize to your needs!
Using MathLive is easy! Simply add a <math-field>
tag to your page, and it
works just like a <textarea>
or <button>
element. You can manipulate the
mathfield using methods of the element and listen for events to be notified when
its internal state changes.
<!DOCTYPE html>
<html lang="en-US">
<body>
<math-field>f(x)=</math-field>
<script src="https://unpkg.com/mathlive"></script>
</body>
</html>
MathLive has an extensive set of documentation to help you get started, including guides on interacting with a mathfield, customizing it, executing commands, defining custom LaTeX macros, managing inline and keyboard shortcuts, controlling speech output, and displaying static math formulas. You can find all of these guides on the MathLive website.
In addition to the guides, you can also find reference documentation of the MathLive API on the MathLive SDK page.
This project is licensed under the MIT License.
FAQs
A web component for math input
The npm package @nagwa-limited/mathlive receives a total of 142 weekly downloads. As such, @nagwa-limited/mathlive popularity was classified as not popular.
We found that @nagwa-limited/mathlive demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.