Skip to main content

Introduction

Welcome to Aksha MD Editor - a highly optimized, production-ready Markdown Editor for React applications.

Aksha MD Editor Banner

What is Aksha MD Editor?

Aksha MD Editor is a drop-in replacement for traditional text processors, built specifically for React applications. It leverages the power of Monaco Editor (the same editor that powers VS Code) to provide a professional editing experience with real-time markdown preview.

Key Features

🎯 Professional Editing

  • Monaco Editor Integration: The same editor that powers VS Code
  • Syntax Highlighting: Full markdown syntax highlighting
  • Rich Toolbar: Comprehensive formatting options
  • Keyboard Shortcuts: Familiar shortcuts for power users

📝 Comprehensive Markdown Support

  • GitHub Flavored Markdown (GFM): Full GFM support
  • Math Equations: LaTeX math rendering with KaTeX
  • Code Highlighting: Syntax highlighting for 100+ languages
  • Tables & Task Lists: Complete markdown feature set

🎨 Flexible & Customizable

  • Multiple View Modes: Edit, Preview, or Split view
  • Theme Support: Light, Dark, and Auto modes
  • Customizable: Extensive props for customization
  • Responsive: Works perfectly on all screen sizes

⚡ Performance Optimized

  • Debounced Updates: Smooth performance even with large documents
  • Async Processing: Non-blocking markdown rendering
  • Efficient Re-rendering: Optimized React component structure

Why Choose Aksha MD Editor?

Production Ready: Thoroughly tested and optimized for production use

Type Safe: Full TypeScript support with comprehensive type definitions

Well Documented: Extensive documentation with examples and API reference

Easy to Use: Simple API with sensible defaults

Actively Maintained: Regular updates and bug fixes

Open Source: MIT licensed and open for contributions

Quick Example

import { useState } from 'react';
import { MarkdownEditor } from 'aksha-md-editor';
import 'aksha-md-editor/styles.css'; // Required: Import CSS for styling

function App() {
const [markdown, setMarkdown] = useState('# Hello World');

return (
<MarkdownEditor
value={markdown}
onChange={setMarkdown}
defaultViewMode="split"
theme="auto"
/>
);
}

Browser Support

Aksha MD Editor works in all modern browsers:

  • Chrome (latest)
  • Firefox (latest)
  • Safari (latest)
  • Edge (latest)

Next Steps

Ready to get started? Check out the Getting Started guide!