A modern, feature-rich Markdown editor optimized for Hebrew (RTL) content with live preview functionality. This elegant editor combines the simplicity of Markdown with full Hebrew language support, mathematical formula rendering, and a clean Apple-inspired design.
Live demo: dorpascal.com/hebrew-markdown
- Full Hebrew (RTL) Support: Optimized for right-to-left Hebrew text editing with proper directional handling
- Live Preview: See your formatted content in real-time as you type
- Multiple View Modes: Choose between editor-only, split view, or preview-only modes
- Theme Selection: Multiple editor themes including Material, Dracula, Nord, Solarized, and more
- Dark/Light Mode: Toggle between dark and light interface modes
-
Math Expressions: Full support for mathematical formulas using KaTeX (
$E = mc^2$ ) - Code Highlighting: Syntax highlighting for code blocks with automatic LTR orientation
-
Rich Markdown Support:
- Text formatting (bold, italic, strikethrough)
- Headers (multiple levels)
- Lists (ordered, unordered, task lists)
- Tables
- Links and images
- Blockquotes
- Code blocks
- Modern UI: Clean, minimal design inspired by Apple products
- Responsive Design: Works on desktop and mobile devices
- Document Stats: Word and character count tracking
- Export: Save your content as .md files
- CodeMirror: Advanced text editor for the browser
- Marked.js: Markdown parser and compiler
- KaTeX: Fast math typesetting library for the web
- DOMPurify: HTML sanitization library
- Font Awesome: Icon library
- Inter Font: Modern typeface
-
Clone the repository or download the files:
git clone https://github.com/Dor-sketch/hebrew-markdown.git
-
Open
index.html
in your web browser or deploy to any web server.
No build process or dependencies installation required! Everything is loaded from CDNs.
- Start typing your Markdown content in the editor panel
- Use the toolbar buttons for common Markdown formatting
- View the rendered output in the preview panel
- Toggle between different view modes using the buttons in the header
- Switch between themes or dark/light mode as preferred
- Save your document using the save button (💾)
Ctrl+B
: Bold textCtrl+I
: Italic textCtrl+K
: Insert linkCtrl+S
: Save document
To add a new editor theme:
- Include the theme's CSS in the
<head>
section - Add the theme to the
editorThemes
object in the JavaScript - Add a new option in the theme dropdown HTML
Edit the following variables in the JavaScript:
currentTheme
: Default editor themeisDarkMode
: Default dark/light modecurrentViewMode
: Default view modesampleContent
: Default content shown on first load
This project is licensed under the MIT License - see the LICENSE file for details.
- Dor Pascal - Creator
- All the amazing open-source libraries used in this project
Made with ❤️ for Hebrew Markdown enthusiasts | Report an Issue