nuxt-mathjax
v1.1.1
Published
A Nuxt 3 module for rendering mathematical notation using MathJax, with support for LaTeX, MathML, and AsciiMath.
Downloads
12
Readme
MathJax
A Nuxt 3 module for rendering mathematical notation using MathJax, with support for LaTeX, MathML, and AsciiMath.
Features
- ⛰ Automatic Rendering: Automatically renders mathematical expressions in any part of your Nuxt application, with support for multiple formats.
- 🚠 Custom Configuration: Easily configure MathJax settings through a module option, enabling you to customize the rendering engine according to your project's needs.
- 🌲 Lazy Loading: Optimized for performance, module support for lazy loading of MathJax scripts to minimize initial page load times.
- 🌲 TypeScript Support: Fully typed with TypeScript to enhance development experience and maintain code quality.
Quick Setup
Install the module to your Nuxt application with one command:
npx nuxi module add nuxt-mathjax
That's it! You can now use MathJax in your Nuxt app ✨
Contribution
# Install dependencies
npm install
# Generate type stubs
npm run dev:prepare
# Develop with the playground
npm run dev
# Build the playground
npm run dev:build
# Run ESLint
npm run lint
# Run Vitest
npm run test
npm run test:watch
# Release new version
npm run release