Security News
NIST Misses 2024 Deadline to Clear NVD Backlog
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Reference documentation and guides at cortexjs.io/mathlive.
Try it at cortexjs.io/mathlive/demo/.
To add a mathfield element to your page use a <math-field>
tag.
It works just like a <textarea>
or <button>
. 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>
This project is licensed under the MIT License.
0.76.0 2022-06-28
\colorbox
command, use \ensuremath
when
necessary to indicate that the content is math, rather than a mode shift
command#1335 Added support for the beforeinput
and input
events from [Input
Events Level 1] (https://www.w3.org/TR/input-events-1/).
While an input
event was dispatched before, it did not conform to the
InputEvent
interface. The input
event now includes an inputType
property
detailing what caused the event to be dispatched, and in some cases a data
property.
The beforeinput
event is dispatched before the content of the mathfield is
modified and is a cancelable event.
A pair of beforeinput
and input
events are also dispatched when content is
deleted, with an appropriate inputType
value.
An input
event with a inputType
property of "insertLineBreak"
is
dispatched when the Return or Enter keys are pressed.
This matches more closely the behavior of the <textarea>
element.
Added new latex-unstyled
output format. Use it with getValue()
to get a
LaTeX representation of the mathfield content, without any color or background
color styling command
\char"0040 4
, or in general any command with an
unbraced numeric argument followed by an ambiguous decimal or hexadecimal
character<mathfield>
element had some hooks and listeners customized,
then was removed from the DOM and reinserted later, the hooks and listener
functions would revert to their default implementationFAQs
A web component for math input
The npm package mathlive receives a total of 39,945 weekly downloads. As such, mathlive popularity was classified as popular.
We found that mathlive demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer 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
NIST has failed to meet its self-imposed deadline of clearing the NVD's backlog by the end of the fiscal year. Meanwhile, CVE's awaiting analysis have increased by 33% since June.
Security News
Cloudflare has launched a setup wizard allowing users to easily create and manage a security.txt file for vulnerability disclosure on their websites.
Security News
The Socket Research team breaks down a malicious npm package targeting the legitimate DOMPurify library. It uses obfuscated code to hide that it is exfiltrating browser and crypto wallet data.