Markdown Studio is a premium, minimal, and fully client-side Real-Time Markdown Editor built entirely with Vanilla Web Technologies. It features a distraction-free pure monochrome dark mode, advanced PDF export with custom page scaling, and a unique "Zero-Backend" sharing capability.
- Vercel Deployment: https://apandey-studio.vercel.app
- GitHub Pages: https://apandey-dev.github.io/markdownStudio
- ⚡ Ultra-Fast Real-Time Preview: Type on the left, and see the rendered HTML instantly on the right.
- 🖨️ Advanced Native PDF Export: * Bypasses third-party canvas bugs to export documents as high-quality, selectable vector text using the browser's native print engine.
- Supports custom page layouts: A4 Size, A2 Size (Strictly configured with 0 margin and 5px padding), and a unique Infinity Page (dynamically calculates the exact document height for a single continuous page).
- 🔗 Zero-Backend URL Sharing: Share your entire document via a generated URL link. The app compresses and Base64 encodes your markdown text directly into the URL hash, requiring absolutely no database!
- 🌗 Pure Monochrome Dark Mode: A meticulously designed dark mode featuring pure black (
#000000) and subtle greys, completely eliminating blue tints for a professional aesthetic. - 📐 Draggable Split View: Freely adjust the width of the editor and preview panels using a smooth, interactive divider.
- 🧮 Math & Syntax Support: Seamlessly renders LaTeX math formulas (via KaTeX) and code block syntax highlighting (via Highlight.js).
- 💾 Auto-Save: Automatically saves your progress to your browser's
localStorageto prevent data loss. - 🎨 Custom UI Components: Features beautifully animated, fully custom-built dropdowns and modal dialogs.
This project is highly optimized, lightweight, and relies strictly on frontend technologies without any heavy frameworks:
- HTML5 (Structure & Semantics)
- CSS3 (Styling, Flexbox Layouts, Custom Variables, Native
@printMedia Queries) - Vanilla JavaScript (ES6+) (DOM Manipulation, Event Handling, Debouncing, Base64 Encoding)
External Libraries (via CDN):
- Marked.js - Robust Markdown parsing
- DOMPurify - XSS Sanitization for secure HTML rendering
- KaTeX - High-performance math typesetting
- Highlight.js - Developer-friendly code syntax highlighting
Since this is a client-side only application, no build steps, package managers, or backend servers are required.
- Clone the repository:
git clone [https://github.com/apandey/markdownStudio.git](https://github.com/apandey/markdownStudio.git)