An open API service indexing awesome lists of open source software.

https://github.com/renilgarala/markdown-previewer

Markdown Previewer is allows users to enter markdown text and see the formatted output in real time
https://github.com/renilgarala/markdown-previewer

chaicode-cohort javascript marked-js

Last synced: 6 months ago
JSON representation

Markdown Previewer is allows users to enter markdown text and see the formatted output in real time

Awesome Lists containing this project

README

          

Screenshot 2025-03-27 at 7 00 50 PM

# Markdown Previewer

A simple **Markdown Previewer** that allows users to enter markdown text and see the formatted output in real time, without making any backend API calls.

## 🚀 Objective
Build a real-time Markdown previewer to practice working with **user input**, **text processing**, and dynamically updating the **DOM**.

## 🛠️ Tech Stack
- HTML
- CSS
- JavaScript

## ✅ Features
- **Markdown Editor:**
- A **textarea** on the left-hand side where users can enter Markdown syntax.
- **Real-time Preview:**
- A preview section on the right-hand side displays the **formatted output**.
- **Supported Markdown Elements:**
- **Headings:** `# H1`, `## H2`, etc.
- **Bold & Italics:** `**bold**`, `_italic_`
- **Links:** `[title](http://example.com)`
- **Lists:** Ordered and unordered lists.
- **Clear/Reset Button:**
- Clears the textarea input.
- **Copy Button:**
- Copy the textarea input.

## 📌 How to Use
1. Open the website.
2. Type **Markdown syntax** in the left-hand textarea.
3. See the **real-time preview** on the right-hand side.
4. Use the **clear/reset button** to remove the input.
5. Use the **copy button** to copy the markdown text.

## 📂 Installation
1. Clone this repository:
```bash
git clone https://github.com/markedjs/marked.git