A powerful, AI-enhanced markdown editor for modern content creation.
π Table of Contents
Markdown Studio is a next-generation markdown editor that combines the simplicity of markdown with the power of AI. Built for writers, developers, and content creators who demand a seamless, feature-rich editing experience.
Key Highlights:
- π€ AI-powered content formatting and enhancement (via Groq API)
- π± Responsive design that works on all devices
- π Real-time preview with synchronized scrolling
- πΎ Auto-save to browser localStorage
- π¨ Multiple beautiful themes to choose from
- π Advanced export capabilities (PDF, DOCX, HTML, LaTeX)
- Real-time Preview: Split-screen editing with live markdown preview
- Smart Text Selection: Context-aware formatting suggestions
- Auto-completion: Intelligent markdown syntax completion
- Smart Paste: Automatically formats URLs, code snippets, and other content
- Template System: Quick insertion of tables, code blocks, checklists, and more
- Command Palette: Quick access to all editor functions
- Focus Mode: Distraction-free writing environment
- Mobile Support: Adaptive UI for phones and tablets
- Auto-save: Content automatically saved to browser localStorage
- AI Formatting: Automatically enhance content structure and readability
- Smart Suggestions: Context-aware formatting recommendations
- Content Enhancement: Improve grammar, style, and presentation
- Template Generation: AI-assisted content templates
- 8 Beautiful Themes: Light, Dark, Cyberpunk, Forest, Ocean, Sunset, Minimal, High Contrast
- Responsive Design: Optimized for desktop, tablet, and mobile
- Customizable Toolbar: Personalize your editing experience
- PDF Export: Professional-quality PDF generation
- DOCX Export: Microsoft Word compatibility
- HTML Export: Clean, semantic HTML output
- LaTeX Export: Academic and scientific document formatting
- Plain Text: Clean text extraction
- Smart Import: Paste content from various sources with auto-formatting
- React 18 - Modern React with hooks and concurrent features
- TypeScript - Type-safe development
- Vite - Fast build tool and development server
- Tailwind CSS - Utility-first CSS framework
- Shadcn/ui - High-quality component library
- React Router - Client-side routing
- Groq AI - Fast AI inference for content formatting (user provides API key)
- Marked - Markdown parsing and rendering
- Lucide React - Beautiful icons
- jsPDF - PDF generation
- html2canvas - HTML to canvas conversion
- docx - Word document generation
- file-saver - File download utilities
- Framer Motion - Smooth animations
- Node.js 18+
- npm or yarn package manager
- Clone the repository
git clone https://github.com/RexO77/MarkdownStudioX.git
cd MarkdownStudioX- Install dependencies
npm install- Start development server
npm run dev- Open in browser
Navigate to
http://localhost:5173
- Set your API Key - Click the "Set API Key" button to configure your Groq API key for AI features
- Explore themes - Try different themes from the toolbar
- Start writing - Your content auto-saves to localStorage
- Try AI formatting - Use the "AI Format" button to enhance your content
- Start Typing: Begin writing with standard markdown syntax
- Live Preview: See your formatted content in real-time on the right panel
- Auto-save: Your work is saved automatically to browser localStorage
- Select text to see context-aware formatting options
- Get intelligent suggestions based on content type
- Quick access to bold, italic, code, links, and headings
- Access pre-built templates from the toolbar
- Insert tables, code blocks, checklists, quotes, and diagrams
- Customize templates for your workflow
- Select content and click "AI Format" for enhancement
- Automatic structure improvement
- Grammar and style suggestions
- Emoji and formatting additions
- PDF: Export menu > PDF for print-ready documents
- Word: Export menu > DOCX for Microsoft Word
- HTML: Export menu > HTML for web publishing
- LaTeX: Export menu > LaTeX for academic papers
The application uses Groq AI for fast, high-quality content formatting.
- Get API Key: Create a free account at Groq Console
- Configure Key: Click "Set API Key" button in the header
- Start Using: AI features are now enabled
- Smart Formatting: Enhance content structure and presentation
- Grammar Enhancement: Improve writing quality
- Emoji Integration: Add relevant emojis for engagement
- Structure Optimization: Better heading hierarchy and organization
Choose from 8 carefully crafted themes:
- Light - Clean and bright interface
- Dark - Easy on the eyes for long writing sessions
- System - Automatically follows your system preference
- Cyberpunk - Neon-inspired design for a futuristic feel
- Forest - Nature-inspired greens for a calming experience
- Ocean - Deep blue tranquility for focused writing
- Sunset - Warm orange gradients for creativity
- Minimal - Ultra-clean interface for distraction-free writing
- High Contrast - Accessibility-focused design
- High-quality PDF generation
- Professional formatting
- Customizable page layouts
- Perfect for sharing and printing
- Full compatibility with Microsoft Word
- Maintains formatting and structure
- Ideal for collaborative editing
- Clean, semantic HTML
- CSS styling preserved
- Ready for web publishing
- Academic and scientific document formatting
- Perfect for research papers
- Professional mathematical notation support
- Clean text extraction
- Removes all formatting
- Universal compatibility
src/
βββ components/ # React components
β βββ editor/ # Editor-specific components
β βββ header/ # Header components
β βββ ui/ # Reusable UI components
β βββ ...
βββ hooks/ # Custom React hooks
βββ pages/ # Page components
βββ utils/ # Utility functions
βββ lib/ # Library utilities
- UnifiedEditor: Main editor component with preview
- EditorToolbar: Toolbar with formatting options
- Preview: Real-time markdown preview
- ThemeProvider: Theme management system
- ExportMenu: Export functionality
- useSmartEditor: AI-powered editing features
- useMobile: Responsive design detection
- useToast: Toast notification system
npm run dev # Start development server
npm run build # Build for production
npm run preview # Preview production buildnpm run build- Connect your GitHub repository
- Deploy automatically on push
- Connect repository
- Set build command:
npm run build - Set publish directory:
dist
- Build the project:
npm run build - Serve the
distfolder with any static file server
We welcome contributions! Here's how to get started:
- Fork the repository
- Create a feature branch:
git checkout -b feature/amazing-feature - Make your changes: Follow our coding standards
- Add tests: Ensure your changes are tested
- Commit changes:
git commit -m 'Add amazing feature' - Push to branch:
git push origin feature/amazing-feature - Open a Pull Request: Describe your changes
- Follow TypeScript best practices
- Write clear, descriptive commit messages
- Add documentation for new features
- Ensure responsive design
- Test on multiple devices and browsers
- Use TypeScript for all new code
- Follow existing naming conventions
- Keep components small and focused
- Write self-documenting code
This project is licensed under the MIT License - see the LICENSE file for details.
- Issues: Report bugs and request features on GitHub
- Discussions: Join community discussions
- Updates: Follow the project for latest updates
Built with β€οΈ by the Markdown Studio team
Last updated: December 2024