Skip to content

v1.0.0

Choose a tag to compare

@sinhaparth5 sinhaparth5 released this 27 Mar 10:13
· 18 commits to master since this release

MathSnap v1.0.0 - Release Notes

Release Date: March 27, 2025
Repository: github.com/sinhaparth5/mathsnap

Welcome to the first stable release of MathSnap, a lightweight, framework-agnostic wrapper around KaTeX designed to effortlessly render beautiful math equations in your web applications. Whether you’re using React, Svelte, Vue, or plain JavaScript, MathSnap has you covered with a simple API and a tiny footprint.

What’s New in v1.0.0

This initial release brings a robust set of features to make rendering LaTeX equations a breeze:

  • Simplified API: Render LaTeX equations with minimal setup.
  • Framework Support: Dedicated components for React, Svelte, and Vue, plus vanilla JS compatibility.
  • Responsive Design: Equations adapt to screen sizes by default.
  • Customizable: Style equations with CSS or tweak rendering with KaTeX options.
  • Error Handling: Built-in safeguards for invalid inputs.
  • TypeScript Ready: Full type definitions included.
  • Predefined Equations: Quick access to classics like Einstein’s E = mc² and Euler’s identity.
  • Lightweight: Depends only on KaTeX, keeping your bundle size small.

Installation

Get started with MathSnap by installing it alongside KaTeX:

# Using npm
npm install mathsnap katex

# Using yarn
yarn add mathsnap katex

# Using pnpm
pnpm add mathsnap katex