This project is a real-time Markdown editor built using Node.js and React. It allows users to type Markdown syntax and instantly see the rendered HTML in a live preview pane.
- Real-time Editing: Markdown syntax is converted to HTML in real-time as the user types.
- Live Preview: The rendered HTML is displayed in a separate pane for immediate feedback.
- Syntax Highlighting: Optional syntax highlighting for better readability in the Markdown editor.
- Backend Markdown Processing: Node.js server handles Markdown to HTML conversion for efficient processing.
- No Database Requirement: Stateless application with all operations performed in real-time.
- Clone this repository to your local machine.
- Navigate to the
server
directory and runnpm install
to install backend dependencies. - Start the backend server by running
npm start
. - Navigate to the
client
directory and runnpm install
to install frontend dependencies. - Start the React application by running
npm start
. - Open your browser and go to
http://localhost:3000
to access the Markdown editor. - Start typing Markdown in the text area and see the live HTML preview on the right.
- Frontend: React, Axios, React Markdown, React Syntax Highlighter
- Backend: Node.js, Express, Marked
- Styling: CSS
markdown-editor/
├── client/ # Frontend React application
│ ├── node_modules/ # Frontend dependencies
│ ├── public/ # Public assets
│ └── src/ # Frontend source code
├── server/ # Backend Node.js server
│ └── server.js # Backend server file
├── node_modules/ # Project dependencies
├── package.json # Project package file
└── README.md # Project README