MMarked

The Markdown Engine Built for STEM Education

Stop fighting with standard Markdown plugins. mmarked brings native LaTeX support, theorem blocks, and interactive solution toggles to your educational content. Lightweight, TypeScript-based, and ready for your next EdTech project.
npm version
npm i @mathcrowd/mmarked
Support compliant for non-commercial use; commercial use requires Contact us to purchase an additional license.

Why mmarked?

Writing mathematical and educational content on the web has always been hard. Standard parsers break on complex LaTeX, lack academic structures, and handle images poorly. mmarked changes that.

Native Math First

Built-in MathJax support means your formulas look professional, always.

Academic Structure

Don't hack blockquotes. Use native syntax for Theorems, Lemmas, and Proofs.

EdTech Ready

Interactive 'Show/Hide' solution blocks built right in—perfect for quizzes and courseware.

Editor Integration

Core Features

Professional Math Rendering

Powered by MathJax, mmarked converts TeX to high-quality SVG/CommonHTML.
  • Handles matrices, integrals, and scientific notation with ease
  • Seamlessly mix $inline$ math with $$block$$ equations
  • Intelligent footnote and equation numbering system

Structured Academic Blocks

Write course notes and papers like a pro. Dedicated syntax for academic environments with auto-numbering and cross-referencing [~id].
  • Theorems, Lemmas, Definitions, Propositions, Examples
  • Add custom titles to your blocks (e.g., Theorem 1.2 [Pythagoras])

Interactive Learning Elements

Designed for students and self-learners.
  • Create 'Try it yourself' sections where answers are hidden by default
  • Reveal proofs or step-by-step solutions with a simple toggle

Rich Media & Syntax Control

Full control over your content presentation.
  • Control image and video dimensions directly in Markdown
  • Integrated highlight.js for beautiful code snippets
  • Fully compatible with standard Markdown, so your legacy content still works

Developer Experience

Built for Developers, by Developers

TypeScript
Type-safe and developer-friendly
Lightweight Core
Minimal dependencies to keep your bundle size small
Universal
Runs perfectly in Node.js (SSG/SSR) and the Browser (Client-side rendering)
Extensible
Built on top of the robust marked.js architecture

Join Our Community

Get help, share ideas, and connect with other developers using mmarked

Use Cases

For Educators

Create rich course materials and lecture notes without worrying about layout breakage

For EdTech Developers

Build LMS, quiz platforms, or documentation sites with a parser designed for your specific needs

For Researchers

Draft papers and technical blogs using the syntax you love, with the rendering quality you need

Frequently Asked Questions

Quick guide to MMarked

Want to learn more technical details?

View Full Documentation

Acknowledgment