A simple, real-time markdown previewer that allows users to write markdown text and see the formatted output instantly.
- Real-time markdown preview
- Support for basic markdown syntax:
- Headings (H1-H6)
- Bold and italic text
- Links
- Lists (ordered and unordered)
- Code blocks (inline and multi-line)
- Blockquotes
- Clear/reset button
- Responsive design for mobile and desktop
- Sample markdown text on load
- HTML5
- CSS3 (with Grid and Flexbox)
- JavaScript (ES6+)
- marked.js for markdown parsing
- Clone this repository
- Open
index.htmlin your web browser - Start writing markdown in the editor section
- See the preview update in real-time on the right
- Type or paste markdown text in the editor section
- The preview will update automatically as you type
- Use the "Clear" button to reset the editor
- Try the sample markdown text that loads by default
- Headers:
# H1,## H2, etc. - Bold:
**text** - Italic:
*text* - Links:
[text](url) - Lists:
- Unordered:
- itemor* item - Ordered:
1. item
- Unordered:
- Code:
- Inline:
`code` - Block:
```language code ```
- Inline:
- Blockquotes:
> text
The application works on all modern browsers:
- Chrome
- Firefox
- Safari
- Edge
- Opera
This project is open source and available under the MIT License.