
Security News
Ruby's Bundler 4.0.18 Extends Cooldown to bundle lock and bundle cache
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.
@dotit/math
Advanced tools
Math/equation rendering for IntentText (.it) — a dependency-free lightweight LaTeX→MathML renderer for common business/science math, with optional KaTeX for full LaTeX. Renders the math placeholders @dotit/core emits.
Math/equation rendering for IntentText. @dotit/core stays dependency-free and
only marks math — emitting placeholders <span class="it-math" data-tex="…">
(inline) and <div class="it-math-block" data-tex="…"> (display). This package
turns those into real math.
Author math in .it:
math: E = mc^2 # a display equation
text: mass-energy [E = mc^2]{math: tex} # inline
Render it:
import { mathToMathML, renderMath, renderMathInHtml, hydrateMath } from "@dotit/math";
mathToMathML("\\frac{a}{b}"); // dependency-free LITE MathML (sync)
await renderMath("\\sum_{i=0}^n x_i"); // KaTeX if installed, else lite MathML
// server / print: replace core's placeholders in an HTML string
const html2 = await renderMathInHtml(coreHtml);
// editor (browser): upgrade placeholders in a live DOM
await hydrateMath(document.querySelector(".intent-document")!);
npm i katex): full LaTeX. renderMath uses it
automatically when installed; otherwise falls back to lite, never throwing.Install KaTeX only if you need full LaTeX; otherwise lite keeps your bundle lean.
FAQs
Math/equation rendering for IntentText (.it) — a dependency-free lightweight LaTeX→MathML renderer for common business/science math, with optional KaTeX for full LaTeX. Renders the math placeholders @dotit/core emits.
The npm package @dotit/math receives a total of 3 weekly downloads. As such, @dotit/math popularity was classified as not popular.
We found that @dotit/math 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
The supply chain control that delays freshly published gems now covers lockfile generation and gem vendoring in Ruby projects.

Security News
During a UK cyber test, a Mythos 5 agent used sockpuppets, social engineering, and prompt injection to try to get a maintainer to merge malware.

Company News
Socket is now in the AWS Security Hub Extended plan. Adopt it through AWS, apply committed spend, and block malicious open source packages.