Screenshot of Markdown Text Editor PWA - A modern, installable Progressive Web App (PWA) for markdown editing, built with Astro. Features rea...
personal Astro PWA JavaScript Web development

Markdown Text Editor PWA

๐Ÿ“ Markdown Text Editor PWA

A modern, fast, and beautiful Markdown editor built with Astro featuring real-time preview, dark mode, offline support, and Progressive Web App (PWA) capabilities.

โœจ Features

Core Features

  • ๐Ÿš€ Real-time Preview - See your Markdown rendered as you type
  • ๐ŸŒ“ Dark/Light Mode - Toggle between themes with automatic system detection
  • ๐Ÿ“Š Word & Character Count - Track your document statistics in real-time
  • ๐ŸŽจ Rich Toolbar - Quick formatting buttons for common Markdown syntax
  • ๐Ÿ’พ Session Auto-save - Never lose your work during a session
  • ๐Ÿ“ฅ Export Options - Download as .md or .html files
  • ๐Ÿ“‹ Copy HTML - One-click copy rendered HTML to clipboard
  • ๐Ÿ“ฑ Fully Responsive - Works seamlessly on desktop, tablet, and mobile
  • โšก Lightning Fast - Built with Astro for optimal performance
  • ๐ŸŽฏ Zero Config - Works out of the box, no setup required

๐Ÿ“ฑ PWA Features

  • ๐Ÿ“ฒ Installable App - Install as a native app on any device
  • ๐ŸŒ Offline Support - Works completely offline after first visit
  • ๐Ÿ”„ Auto-Updates - Automatic updates with user notifications
  • ๐Ÿ“ถ Network Status - Real-time online/offline indicator
  • ๐ŸŽฏ App Shortcuts - Quick actions from home screen/start menu
  • โŒจ๏ธ Keyboard Shortcuts - Enhanced keyboard navigation
  • ๐ŸŽจ Native Experience - Custom splash screen and app theming

๐Ÿ› ๏ธ Tech Stack

  • Astro - Static Site Generator
  • Marked.js - Markdown parser
  • Service Workers - Offline functionality and caching
  • Web App Manifest - PWA installation and theming
  • Vanilla JavaScript - No framework dependencies
  • Custom CSS - Beautiful design system included

๐ŸŽฎ Usage

Keyboard Shortcuts

ShortcutAction
Ctrl/Cmd + BBold
Ctrl/Cmd + IItalic
Ctrl/Cmd + SDownload Markdown
Ctrl/Cmd + NNew Document
Ctrl/Cmd + EExport HTML
Ctrl/Cmd + Shift + CCopy HTML
TabIndent
Shift + TabOutdent

Toolbar Buttons

  • B - Bold text
  • I - Italic text
  • H1, H2, H3 - Heading levels
  • ๐Ÿ”— - Insert link
  • <> - Code block
  • โ€ข - Unordered list
  • 1. - Ordered list

๐Ÿ“ฑ PWA Usage

Installing the App

  1. Desktop: Click the install button in the address bar or use the in-app install button
  2. Mobile: Use โ€œAdd to Home Screenโ€ from browser menu or tap the install prompt
  3. Chrome: Look for the install icon in the address bar

Offline Usage

  • The app works completely offline after the first visit
  • All documents are saved in session memory
  • Export functionality works offline
  • Updates download automatically when back online

App Shortcuts

  • Right-click app icon (desktop) for quick actions
  • Long-press app icon (mobile) for context menu
  • Available shortcuts:
    • New Document
    • Export HTML

Markdown Support

The editor supports all standard Markdown syntax including:

  • Headers (H1-H6)
  • Bold and italic text
  • Links and images
  • Code blocks with syntax highlighting
  • Lists (ordered and unordered)
  • Blockquotes
  • Tables
  • Horizontal rules
  • Line breaks

๐Ÿ“ฑ Install this app on your device for the best experience!