A feature-rich Markdown Editor built with ReactJS and TailwindCSS, designed to simplify writing, editing, and managing Markdown files. This editor is free to use and does not include any license.
- Import and Export Markdown Files: Easily upload
.md
files or export your work in Markdown format. - Save with Custom Filenames: Save your Markdown files with personalized names for better organization.
- Real-Time Editor with Preview:
- Preview your Markdown in real-time while editing.
- Toggle between Preview Mode (rendered Markdown) and Raw Mode (Markdown source code).
- Word, Line, and Character Counter: Keep track of your content with dynamic counters that update as you type.
- Copy Markdown Content: Quickly copy the raw Markdown code to your clipboard with a single click.
- Responsive and Minimal UI: Built with TailwindCSS for a clean, user-friendly interface.
- Sidebar with Predefined Sections:
- Browse a list of predefined sections and search for specific ones. Click on any section to load its default Markdown content.
- Custom Section Creation: Easily create your own custom sections with a simple click of the "Custom Section" button.
- Reorder Sections: You can now reorder your selected sections by dragging and dropping them in the editor.
- Improved Table Preview: Enhanced table rendering in the preview to ensure proper display.
- ReactJS: For building the interactive and dynamic user interface.
- TailwindCSS: For crafting a responsive and modern design.
- Node.js and npm(pnpm) installed on your system.
- Clone the repository:
git clone https://github.com/pawantech12/markdown-editor-reactjs.git
- Navigate to the project directory:
cd markdown-editor-reactjs
- Install dependencies:
pnpm install
- Start the development server:
pnpm run dev
- Open your browser and go to http://localhost:5173 to view the application.
- Open the editor in your browser.
- Import a
.md
file or start typing directly in the editor. - Use the Preview button to view the rendered content or the Raw button to see the Markdown source code.
- Export your work or copy the Markdown content as needed.
- Use the sidebar to search for predefined sections and add them to your document.
- Create custom sections and reorder them as per your requirements.
Contributions are welcome! Feel free to fork this repository and create a pull request with your improvements or suggestions.
This project is free to use and does not include any license.
Happy writing with Markdown! 😊