A modern, professional Markdown editor built with Next.js 15 that provides real-time preview, file management, and mathematical expression support. DawnMark combines the simplicity of Markdown with powerful features for technical writing and documentation.
Experience DawnMark in action at dawnmark.netlify.app
- Live Preview: Instant Markdown rendering with synchronized scrolling
- Syntax Highlighting: Code blocks with highlight.js and 180+ language support
- File Management: Drag & drop file uploads with automatic blob URL generation
- LaTeX Support: Mathematical expressions via KaTeX (
$inline$and$$display$$) - Export Options: Save as Markdown (.md) or HTML files
- Theme Switching: Dynamic dark/light mode with proper syntax highlighting themes
- Auto-save: Content automatically saved to localStorage
- Responsive Design: Optimized for desktop editing workflows
- Accessibility: ARIA labels, keyboard navigation, and screen reader support
# Clone and install
git clone https://github.com/7sg56/dawnmark-v3.git
cd dawnmark-v3
npm install
# Development
npm run dev
# Production
npm run build
npm run startOpen http://localhost:3000 to view the application.
- Editor Panel: Type Markdown syntax in the left panel
- Preview Panel: See real-time rendered output on the right
- Auto-save: Your work is automatically saved to browser storage
- Drag and drop files into the upload area or click to browse
- Images generate
snippets - Other files create
[filename](blob:url)download links - Click generated snippets to copy to clipboard
-
Inline math:
$E = mc^2$renders as$E = mc^2$ -
Display math:
$$\sum_{i=1}^{n} x_i$$renders as centered equations - Full KaTeX syntax support for complex mathematical notation
- Theme Toggle: Switch between dark and light modes (header button)
- Export: Download your work as
.mdor.htmlfiles - Syntax Themes: Code highlighting automatically matches your selected theme
- Next.js 15 - React framework with App Router and Turbopack
- React 19 - Latest React features with concurrent rendering
- TypeScript - Full type safety and IntelliSense support
- Tailwind CSS v4 - Utility-first CSS framework via PostCSS
- Custom CSS Variables - Dynamic theming system
- Responsive Design - Mobile-first approach with breakpoints
- Marked - Fast Markdown parser with GFM support
- KaTeX - High-quality mathematical typesetting
- highlight.js - Syntax highlighting for 180+ languages
- DOMPurify - XSS protection and HTML sanitization
- Client-Side Only: No backend dependencies, runs entirely in browser
- Component-Based: Modular React components (Editor, Preview, Upload, Theme)
- Local Storage: Automatic content persistence without external databases
- Blob URLs: Secure file handling without server uploads
- CSS Custom Properties: Dynamic theme switching without JavaScript re-renders
Deploy to Vercel (recommended), Netlify, or any Next.js-compatible platform.
Live Example: This project is deployed at dawnmark.netlify.app using Netlify's automatic deployment from GitHub.
This project is licensed under the MIT License - see the LICENSE file for details.
Made by Sourish Ghosh
