How to Generate Xiaohongshu-Style Covers with MD2Card

xiaohongshu card
Create beautiful Xiaohongshu-style covers with MD2Card to make your content more attractive
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

FieldDescriptionRequired
titleCover title; keep it concise and powerfulYes
descriptionSubtitle or short descriptionOptional
tagsComma-separated tagsOptional
dateDate in YYYY-MM-DD formatOptional
imageCover image URLOptional

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:

Cover Example

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×580
  • separate: 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:

  1. Choose high-quality images: high clarity and good composition catch the eye.
  2. Match the content: images should relate to the article to strengthen theme expression.
  3. Consider color harmony: image colors should fit the overall design.
  4. 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!