A Markdown Previewer app that converts Markdown text into formatted HTML preview in real-time.
- Features
- Installation
- Usage
- Demo
- Tech Stack
- Contributions
- FAQs
- Future Enhancements
- Acknowledgements
- License
- Live Markdown Rendering: View real-time updates as you write.
- Syntax Highlighting: Supports code blocks with proper styling.
- User-Friendly Interface: Clean and intuitive layout for ease of use.
- Cross-Browser Compatibility: Works across all major browsers.
Follow these steps to set up the project locally:
- Clone the repository:
git clone https://github.com/Anshmittal86/markdown-preview.git
- Navigate to the project directory:
cd markdown-preview
- Install the dependencies:
npm i
- Start the development server:
npm run dev
- Open the app in your browser after running the development server.
- Type Markdown in the editor panel on the left side.
- View the rendered output in real-time in the preview panel on the right side.
Enjoy writing and previewing your Markdown effortlessly!
Check out the live application here.
- React.js: Frontend framework for creating interactive UIs.
- Marked.js: A Markdown parser and compiler for rendering Markdown text.
- CSS: Styling for a clean and responsive user interface.
We welcome contributions! Here’s how you can contribute to the project:
- Fork the repository by clicking the "Fork" button at the top right of the page.
- Clone the repository to your local machine:
git clone https://github.com/Anshmittal86/markdown-preview.git
- Create a new branch for your feature or bugfix:
git checkout -b feature-name
- Make your changes and commit them with a meaningful message:
git commit -m "Add feature-name"
- Push your changes to your fork:
git push origin feature-name
- Submit a pull request with a description of the changes you made.
Q: Does this app support all Markdown syntax?
A: Yes, it supports common Markdown syntax like headings, lists, links, and images.
Q: How can I add new features?
A: Fork the repository, add your features in a new branch, and submit a pull request.
Q: Can I use this app offline?
A: Not at the moment, but you can run it locally by cloning the repository.
Q: Is this app responsive on mobile devices?
A: Yes, the app is designed to be mobile-friendly.
- Offline Support: Implement local storage or service workers to enable offline usage.
- Theme Options: Add support for light and dark themes for better user experience.
- Real-Time Collaboration: Enable users to share their markdown content and collaborate in real-time.
- More Markdown Features: Extend support for advanced Markdown syntax, such as tables and footnotes.
- Export Options: Add the ability to export Markdown content as HTML or PDF.
- React: A JavaScript library for building user interfaces.
- Marked.js: Markdown parser and compiler used for rendering Markdown content.
- CSS: Used for styling and creating a clean, responsive layout.
This project is licensed under the MIT License - see the LICENSE file for details.