MDPreview Logo MDPreview PRO
Live Editor
Viral Social & Knowledge Cards

Turn Markdown into Stunning Shareable Cards

Transform markdown notes, quotes, code snippets, and changelogs into beautiful visual cards for Twitter/X, Xiaohongshu, LinkedIn, and blogs. Free, fast, and exported in 2x Retina clarity.

Content Source

Style & Aesthetics

Author & Watermark

High-Res Retina Export

Export crisp 2x resolution PNGs with crystal-clear fonts and syntax-highlighted code blocks, optimized for social feeds.

Designer Color Palettes

Choose from 6 handcrafted aesthetic themes with gradients, soft shadows, and dark mode, tailored for modern developers and writers.

One-Click Clipboard Copy

Generate and copy image blobs directly to your clipboard. Paste right into Twitter, Xiaohongshu, WeChat, or Slack without saving files.

How to Turn Markdown into Social Cards

01

Write or Paste Markdown

Type your notes, quotes, or code snippets, or click "From Editor" to load your current MDPreview draft.

02

Pick Theme & Dimensions

Select your favorite backdrop theme, customize author credentials, and choose social aspect ratios (Square, 3:4, 16:9).

03

Copy Image or Download

Click "Copy Image" to paste directly into your social apps, or download a 2x Retina PNG to share anywhere.

Frequently Asked Questions

Where are the exported cards hosted?

Nowhere! Card images are generated 100% locally in your browser memory and downloaded directly to your device. We do not store or track your content.

Can I use these cards for commercial projects?

Yes. Any image or card you generate with MDPreview is 100% yours to publish, share, and monetize without attribution or restrictions.

Does it support code syntax highlighting?

Yes, code blocks with language tags (e.g. `javascript, `python, ` ust) are highlighted using highlight.js with beautiful styling.

What aspect ratio should I use for Xiaohongshu?

We recommend using the "Portrait 3:4" aspect ratio for Xiaohongshu and Instagram stories for the best vertical viewing experience.