This is a simple, responsive Markdown Previewer that allows users to write and preview Markdown in real-time. The application provides a side-by-side editor and preview interface with syntax highlighting for code blocks and support for various Markdown elements.
- Real-time Markdown rendering
- Syntax highlighting for code blocks
- Responsive design (works on desktop and mobile)
- Support for:
- Headings
- Bold and italic text
- Code blocks and inline code
- Lists (ordered and unordered)
- Links
- Images
- Blockquotes
- Horizontal rules
- HTML5
- CSS3
- JavaScript
- Marked.js - Markdown parsing
- Highlight.js - Code syntax highlighting
- A modern web browser (Chrome, Firefox, Safari, Edge)
-
Clone the repository:
git clone https://github.com/yourusername/markdown-previewer.git -
Navigate to the project directory:
cd markdown-previewer -
Open
index.htmlin your web browser
- Write your Markdown in the left panel
- See the rendered output in real-time on the right panel
- Use the "Clear" button to reset the editor
- Click "Load Sample" to see an example of Markdown capabilities
- Clear: Removes all text from the editor and preview
- Load Sample: Populates the editor with a sample Markdown document to demonstrate features
You can easily customize the styling by modifying the styles.css file. The CSS uses a responsive design with media queries to ensure a good experience on different device sizes.
Contributions are welcome! Please feel free to submit a Pull Request.
This project is open source. Please check the LICENSE file for details.
- Marked.js for Markdown parsing
- Highlight.js for code syntax highlighting
![Markdown Previewer Screenshot]

Note: Replace the placeholder screenshot with an actual screenshot of your application