How to Generate Xiaohongshu-Style Covers with MD2Card

MD2Card not only generates beautiful knowledge cards but also supports creating Xiaohongshu-style covers. With simple Markdown configuration, you can quickly generate professional cover images that attract more readers to click your content.
Cover Configuration
At the top of your Markdown document, use YAML frontmatter to configure the cover:
---
title: Your Title
description: Subtitle or short description
tags: Tag1, Tag2
date: 2023-03-08
image: Cover image URL
---
Parameter Descriptions
| Field | Description | Required |
|---|---|---|
| title | Cover title; keep it concise and powerful | Yes |
| description | Subtitle or short description | Optional |
| tags | Comma-separated tags | Optional |
| date | Date in YYYY-MM-DD format | Optional |
| image | Cover image URL | Optional |
Example
Below is a complete cover configuration example:
---
title:Create Xiaohongshu Knowledge Cards in 5 Minutes
description: End-to-end workflow for Xiaohongshu creation—from content generation to layout design—to make your knowledge sharing more professional and efficient
tags: deepseek, xiaohongshu
date: 2025-03-08
image: https://images.unsplash.com/photo-1484766280341-87861644c80d?q=80&w=880&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D
layout: separate
---
With the above configuration, MD2Card will generate a cover like this:

The cover must include an image.
Cover Layouts
You can choose different layouts using the layout parameter:
---
title: Your Title
layout: overlay
---
Supported layouts:
overlay: image overlay layout with text on top (default); portrait images recommended, size 440×580separate: separated layout where image and text are displayed separately; landscape images recommended, size 440×350
Cover Image Tips
Choosing the right cover image is crucial for attracting readers. Suggestions:
- Choose high-quality images: high clarity and good composition catch the eye.
- Match the content: images should relate to the article to strengthen theme expression.
- Consider color harmony: image colors should fit the overall design.
- Respect copyright: use authorized images from free libraries like Unsplash or Pexels.
Summary
With MD2Card’s cover generation, you can easily create professional Xiaohongshu-style covers and boost content appeal. Simply configure frontmatter in Markdown to generate beautiful cover images and make your posts stand out.
Try MD2Card now to make your Xiaohongshu content creation more efficient and professional!