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/ .
npm install Yaffle/mathml-to-clipboardnpm run-script build