Skip to content

Anshmittal86/markdown-preview

Repository files navigation

Markdown Previewer

A Markdown Previewer app that converts Markdown text into formatted HTML preview in real-time.

Table of Contents

  1. Features
  2. Installation
  3. Usage
  4. Demo
  5. Tech Stack
  6. Contributions
  7. FAQs
  8. Future Enhancements
  9. Acknowledgements
  10. License

Features

  • 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.

Installation

Follow these steps to set up the project locally:

  1. Clone the repository:
    git clone https://github.com/Anshmittal86/markdown-preview.git
    
  2. Navigate to the project directory:
    cd markdown-preview
    
    
  3. Install the dependencies:
    npm i
    
    
  4. Start the development server:
    npm run dev
    

Usage

  1. Open the app in your browser after running the development server.
  2. Type Markdown in the editor panel on the left side.
  3. View the rendered output in real-time in the preview panel on the right side.

Enjoy writing and previewing your Markdown effortlessly!

Demo

Check out the live application here.

Tech Stack

  • 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.

Contributions

We welcome contributions! Here’s how you can contribute to the project:

  1. Fork the repository by clicking the "Fork" button at the top right of the page.
  2. Clone the repository to your local machine:
    git clone https://github.com/Anshmittal86/markdown-preview.git
    
  3. Create a new branch for your feature or bugfix:
    git checkout -b feature-name
    
    
  4. Make your changes and commit them with a meaningful message:
    git commit -m "Add feature-name"
    
    
  5. Push your changes to your fork:
    git push origin feature-name
    
    
  6. Submit a pull request with a description of the changes you made.

FAQs

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.

Future Enhancements

  • 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.

Acknowledgements

  • 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.

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

A Markdown Previewer app which can generates a markdown preview

Resources

License

Stars

Watchers

Forks

Packages

No packages published