Skip to content

Releases: sinhaparth5/mathsnap

v1.0.8

16 Mar 21:14

Choose a tag to compare

What's Changed

Install

# npm (GitHub Packages)
npm install @sinhaparth5/mathsnap@1.0.8

v1.0.7

13 Mar 21:03

Choose a tag to compare

What's Changed

  • updated the version (2119123)
  • fixed the build, removed the katex css and optimized and covnerted to mathsnap.min.css, added tests and also updated the build (40c7279)

Install

# npm (GitHub Packages)
npm install @sinhaparth5/mathsnap@1.0.7

v1.0.6

13 Mar 20:29

Choose a tag to compare

What's Changed

Install

# npm (GitHub Packages)
npm install @sinhaparth5/mathsnap@1.0.6

v1.0.0

27 Mar 10:13

Choose a tag to compare

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