
Product
Introducing Rust Support in Socket
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
mathml-to-clipboard
Advanced tools
A copy event handler for a web application to transform MathML into AsciiMath and put into the clipboard.
A JavaScript to transform MathML into a AsciiMath during "copy" and "dragstart" events. See the example.html.
This allows the user to select part of rendered MathML on a page, then copy and paste the selection or use Drag and Drop. The selection is serialied to a plain text string as AsciiMath.
The script only handles MathML tags, so MathJax may not always be supported. It works with MathML polyfills like https://github.com/fred-wang/mathml.css/ .
Usage:
npm install Yaffle/mathml-to-clipboard
npm run-script build
FAQs
A copy event handler for a web application that transforms MathML into AsciiMath and places it into the clipboard.
The npm package mathml-to-clipboard receives a total of 0 weekly downloads. As such, mathml-to-clipboard popularity was classified as not popular.
We found that mathml-to-clipboard 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.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.
Product
Socket is launching experimental protection for Chrome extensions, scanning for malware and risky permissions to prevent silent supply chain attacks.