A powerful and intuitive markdown editor and previewer built by Hugo Adona. Write markdown with ease and see your content come to life in real-time.
- Live Preview: See your markdown rendered in real-time as you type
- Split View: Side-by-side editor and preview panes
- Syntax Highlighting: Beautiful syntax highlighting for markdown
- Export Options: Export your work as HTML, PDF, or markdown files
- Theme Support: Switch between light and dark themes
- Responsive Design: Works seamlessly on desktop, tablet, and mobile
- Local Storage: Auto-save your work locally
- Keyboard Shortcuts: Boost productivity with helpful shortcuts
- GitHub Flavored Markdown: Full support for GFM extensions
- File Operations: Open, save, and manage your markdown files
Try MarkdownMagic live: Demo Link (Update with your deployed URL)
(Add screenshots of your application here)
- Frontend: HTML5, CSS3, JavaScript (ES6+)
- Markdown Parser: Marked.js or similar
- Syntax Highlighting: Prism.js or Highlight.js
- Icons: Font Awesome or Feather Icons
- Styling: CSS Grid/Flexbox with custom CSS
- Modern web browser (Chrome, Firefox, Safari, Edge)
- Web server (for local development)
- Clone the repository:
git clone https://github.com/HugoAdona/markdownmagic.git
cd markdownmagic- Serve the files locally:
Using Python:
# Python 3
python -m http.server 8000
# Python 2
python -m SimpleHTTPServer 8000Using Node.js:
npx serve .Using PHP:
php -S localhost:8000- Open your browser and navigate to
http://localhost:8000
If you want to contribute or modify the code:
- Fork the repository
- Clone your fork locally
- Make your changes
- Test thoroughly
- Submit a pull request
- Start Writing: Begin typing your markdown in the left editor pane
- Live Preview: Watch your content render in real-time on the right
- Toggle Views: Use the view buttons to switch between editor-only, preview-only, or split view
- Save Your Work: Your content is automatically saved to local storage
| Shortcut | Action |
|---|---|
Ctrl/Cmd + S |
Save file |
Ctrl/Cmd + O |
Open file |
Ctrl/Cmd + N |
New document |
Ctrl/Cmd + B |
Bold text |
Ctrl/Cmd + I |
Italic text |
Ctrl/Cmd + K |
Insert link |
Ctrl/Cmd + / |
Toggle comment |
F11 |
Toggle fullscreen |
- Headers:
# H1,## H2,### H3, etc. - Emphasis:
*italic*,**bold**,***bold italic*** - Lists: Ordered and unordered lists
- Links:
[text](url)and reference-style links - Images:
with drag-and-drop support - Code: Inline
codeand fenced code blocks - Tables: GitHub-style tables
- Blockquotes:
> quote text - Strikethrough:
~~strikethrough~~ - Task Lists:
- [x] completed task - Math: LaTeX math expressions (if enabled)
MarkdownMagic supports multiple themes:
- Light Theme: Clean and minimal
- Dark Theme: Easy on the eyes for night coding
- Auto Theme: Follows system preference
You can customize the appearance by modifying the CSS files:
styles/editor.css- Editor stylingstyles/preview.css- Preview pane stylingstyles/themes.css- Theme definitions
markdownmagic/
├── index.html # Main HTML file
├── css/
│ ├── main.css # Main stylesheet
│ ├── editor.css # Editor styles
│ ├── preview.css # Preview styles
│ └── themes.css # Theme definitions
├── js/
│ ├── app.js # Main application logic
│ ├── editor.js # Editor functionality
│ ├── preview.js # Preview rendering
│ └── utils.js # Utility functions
├── assets/
│ ├── icons/ # Icon files
│ └── fonts/ # Custom fonts
├── docs/ # Documentation
├── README.md
└── LICENSE
- Go to your repository settings
- Scroll to "Pages" section
- Select source branch (usually
mainorgh-pages) - Your site will be available at
https://yourusername.github.io/markdownmagic
- Connect your GitHub repository to Netlify
- Set build command:
# No build needed for static site - Set publish directory:
/(root) - Deploy!
- Import your GitHub repository
- No build configuration needed
- Deploy automatically
Contributions make the open source community amazing! Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
- Follow existing code style and conventions
- Add comments for complex functionality
- Test your changes across different browsers
- Update documentation if needed
- Keep commits focused and descriptive
Found a bug or have a feature request? Please open an issue on GitHub:
- Check if the issue already exists
- Use the appropriate issue template
- Provide clear reproduction steps for bugs
- Include screenshots if helpful
This project is licensed under the MIT License - see the LICENSE file for details.
Hugo Adona
- GitHub: @HugoAdona
- Portfolio: [Your Portfolio URL]
- Marked.js - Fast markdown parser
- Prism.js - Syntax highlighting
- Font Awesome - Beautiful icons
- All the amazing contributors and users
- Quotely - Random quote generator API
"The best way to learn markdown is to write markdown." - Start your markdown journey with MarkdownMagic! ✨