https://github.com/melihcanndemir/markdown-previewer
A modern and feature-rich Markdown editor and previewer built with React and Vite. Features real-time preview, dark/light themes, auto-save, file import/export, and multiple preview styles.
https://github.com/melihcanndemir/markdown-previewer
developer-tools frontend-development javascript markdown-editor netlify progress-web-app react react-hooks tailwindcss vite web-application
Last synced: 2 months ago
JSON representation
A modern and feature-rich Markdown editor and previewer built with React and Vite. Features real-time preview, dark/light themes, auto-save, file import/export, and multiple preview styles.
- Host: GitHub
- URL: https://github.com/melihcanndemir/markdown-previewer
- Owner: melihcanndemir
- License: mit
- Created: 2025-01-05T01:11:59.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-01-08T22:00:36.000Z (4 months ago)
- Last Synced: 2025-01-12T16:14:09.887Z (4 months ago)
- Topics: developer-tools, frontend-development, javascript, markdown-editor, netlify, progress-web-app, react, react-hooks, tailwindcss, vite, web-application
- Language: JavaScript
- Homepage: https://webmarkdown.netlify.app/
- Size: 1.53 MB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 📝 Markdown Previewer

[](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
[](https://www.w3.org/WAI/standards-guidelines/aria/)
[](https://opensource.org/licenses/MIT)> A sleek and modern markdown editor and previewer built with React + Vite ⚡


## 📸 Screenshots
### 🌞 Light Mode
### 🌚 Dark Mode
## ✨ Features
- 🌓 Dark/Light mode with smooth transitions
- 💾 Real-time auto-save
- 📱 Fully responsive design for all devices
- 🚀 Live markdown preview
- 🎨 Multiple preview styles (Default, GitHub, Elegant)
- 📋 Import/Export markdown files
- ⚡ Lightning-fast performance with Vite
- 🎯 Customizable settings
- 📊 Optional line numbers
- 🔄 Auto-save functionality
- 📱 PWA support for native app experience
- ♿ Full accessibility support with ARIA labels
- 🔌 Offline functionality
- 📲 Install on any device
- 🎨 Adaptive interface## 🚀 Live Demo
Try it out: [WebMarkdown](https://webmarkdown.netlify.app/)
## 🛠️ Tech Stack
- **Frontend Framework:** React 18.3
- **Build Tool:** Vite 6.0
- **Styling:** Tailwind CSS 3.4
- **PWA:** Vite PWA Plugin
- **Key Dependencies:**
- 🎨 @heroicons/react
- 📝 react-markdown
- ✨ remark-gfm
- 🎯 PropTypes
- 📱 vite-plugin-pwa## 💻 Local Development
1. Clone the repository:
```bash
git clone https://github.com/melihcanndemir/markdown-previewer.git
```2. Install dependencies:
```bash
npm install
```3. Start the development server:
```bash
npm run dev
```4. Build for production:
```bash
npm run build
```## 🎯 Usage
### Editor Features
- Write markdown in the left panel
- See instant preview in the right panel
- Toggle dark/light mode with the theme button
- Use the settings button to customize your experience### PWA Features
- Install as a native app
- Work offline
- Fast loading times
- Home screen installation
- App-like experience### Accessibility Features
- Full keyboard navigation
- ARIA labels for all interactive elements
- High contrast mode support
- Screen reader friendly
- Focus management### Import/Export
- Click Import to load .md files
- Click Export to save your work
- Supports local storage auto-save### Settings
- Adjust font size
- Choose preview style
- Toggle line numbers
- Enable/Disable auto-save
- Customize PWA behavior## 📱 Responsive Design
Optimized for all devices:
- 💻 Desktop
- 📱 Tablets (including iPad Air)
- 📱 Foldable devices (including Zenbook Fold)
- 📱 Mobile phones## 🤝 Contributing
Contributions are welcome! Feel free to:
1. Fork the repository
2. Create your feature branch
3. Submit a Pull Request## 📜 License
This project is open source and available under the [MIT License](LICENSE).
## 🙏 Credits
- Icons by [Hero Icons](https://heroicons.com)
- Markdown parsing by [React Markdown](https://github.com/remarkjs/react-markdown)
- Styling with [Tailwind CSS](https://tailwindcss.com)
- Built with [Vite](https://vitejs.dev)
- PWA support by [Vite PWA Plugin](https://vite-pwa-org.netlify.app/)## 👨💻 Author
- [@melihcanndemir](https://github.com/melihcanndemir)
---
Made with ❤️ by Melih Can Demir