A modern web development project using cutting-edge technologies.
- Modern technology stack
- Modular architecture
- Scalable design
- Easy deployment
- Node.js (v14 or higher)
- npm or yarn
- Git
- Clone the repository:
git clone https://github.com/yourusername/project-bolt.git
cd project-bolt
- Install dependencies:
npm install
# or
yarn install
- Start the development server:
npm run dev
# or
yarn dev
npm run dev
- Starts development servernpm run build
- Creates production build
The project includes a powerful MDX editor component that provides a modern editing experience for creating and previewing GitHub README files and other Markdown content.
- Real-time Preview: Side-by-side editing with live preview
- Syntax Highlighting: Support for Markdown and code blocks
- Theme Support: Light and dark mode themes
- Auto-formatting: Built-in Markdown formatting capabilities
- Error Handling: Real-time error detection and highlighting
- File Operations:
- Upload existing Markdown files
- Copy content to clipboard
- Save content locally
- 💾 Save - Save current content
- 📝 Format - Auto-format the document
- ↩️ Word Wrap - Toggle word wrapping
- 🔢 Line Numbers - Toggle line numbers
- 📊 Minimap - Toggle code minimap
- 📤 Upload - Import Markdown files
- 📋 Copy - Copy content to clipboard
- 🌓 Theme - Switch between light/dark themes
- Monaco Editor integration
- MDX compilation with next-mdx-remote
- Support for GitHub Flavored Markdown
- Custom component mapping for enhanced rendering
- Image handling with fallback support
- Code syntax highlighting
- Responsive layout with resizable panels
import MDXEditor from "@/components/mdx-editor";
export default function Page() {
return <MDXEditor />;
}
- Headers (H1-H6)
- Lists (ordered and unordered)
- Links and Images
- Code blocks with syntax highlighting
- Tables
- Task lists
- GitHub-style badges
- Embedded HTML
- Custom components
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Open a Pull Request
This project is licensed under the MIT License - see the LICENSE file for details.