Docs

MD2Cards is an online tool that turns Markdown into publish-ready content cards in one click. This documentation covers getting started, writing syntax, pagination, template sizes, style tweaks, branding, export, AI drafting and sharing.

Quick start

  1. 1Write content in standard Markdown in the left editor — headings, lists and quotes come naturally.
  2. 2Pick a template and size in the right control panel and preview the card live.
  3. 3Click "Export" to choose PNG / SVG / PDF; multiple cards are auto-zipped, and the filename uses the "Document title" entered at the top of the preview area.
Drafts auto-save to your browser locally (IndexedDB); content stays after refresh or closing the page, no sign-up needed.

Markdown writing

Standard Markdown is supported: headings, bold, italic, lists, quotes, code blocks, tables and dividers. Here is a quick syntax reference:

SyntaxEffect
# headingH1
## headingH2
### headingH3
**text**Bold
*text*Italic
~~text~~Strikethrough
`code`Inline code
> textBlockquote
- textUnordered list
1. textOrdered list
---Horizontal rule (visual divider)
===Card break (split into multiple cards)

· Want a block of text spaced and centered? Adjust "Alignment" and "Line height" in the card style panel.

· For long texts, organize with headings — pagination splits naturally at headings, avoiding a sentence cut across two cards.

Card pagination

When content exceeds one card, MD2Cards splits it into multiple cards automatically or manually based on the "Split mode".

Size split

Auto-paginates by the set card size; long text flows continuously — great for reading notes and long image-text posts.

Rule split

Write a single line === in the content to split what is before and after into different cards, controlling each page precisely.

Example (rule split)
# First card title
Body of the first card...

===

# Second card title
Body of the second card...

Tip: --- is a horizontal rule (visual divider, no split), while === is the actual page break.

Templates & sizes

Switching templates only swaps the "style layer" without re-parsing text — WYSIWYG. 11 built-in templates:

XiaohongshuBright and lively, for goods / outfits / store visits
KnowledgeClean with whitespace, for reading notes / dry knowledge
MinimalLots of whitespace, for quotes / one-liners
DarkDark background, for night reading / mood copy
Neo-ChineseSerif font, for poetry / Chinese style
MorandiLow-saturation tones, for checklists / journals
Deep BlueBusiness blue, for workplace / data
SunsetWarm orange gradient, for travel / life
ForestNatural green, for light meals / healing
TechMonospace font, for products / quick facts
GrapeRomantic purple, for quotes / emotions

Sizes supported: 3:4 (Xiaohongshu), 1:1 (square), 9:16 (portrait), plus custom ratio.

Style tweaks

In the "Font tweak" and "Background" panels you can fine-tune each card visually:

  • · Font size / line height / letter spacing: titles and body controlled separately; shrink title size or increase line height to avoid overflow.
  • · Font: title and body can each be sans-serif / serif / monospace; Neo-Chinese and Tech templates preset suitable fonts.
  • · Alignment: left, center or right as you like; quote cards often look best centered.
  • · Background: keep template colors, or set a custom solid / gradient background and palette to unify your brand.

Brand & signature

Add personal or brand elements to cards in the "Brand" panel:

Logo

Upload an icon and adjust its size, corner radius, position and opacity.

Watermark

Lay your signature text as a watermark; set color, opacity and rotation.

QR code

Place a WeChat / homepage QR code to drive follows.

Page number

Multiple cards auto-show "n / total"; position is adjustable.

Signature

Show a corner credit like "Compiled by @xxx", distinct from the watermark layer.

Export

Click "Export" in the top bar to pick a format; multiple cards auto-zip. The filename uses the "Document title" input at the top of the preview (spaces become hyphens); if left blank it falls back to md2cards:

PNG

High-res bitmap, ready to post on social platforms.

SVG

Vector format, scales infinitely without loss, easy to re-edit.

PDF

One page per card, convenient to print or archive.

AI drafting

Click "AI drafting" at the bottom of the workbench to open a dialog: choose a provider, enter your API Key and a topic, and AI generates structured card Markdown that fills the editor in one click. Output streams like a typewriter; reasoning models also show their thinking separately.

Supported providers (9)

OpenAI, Anthropic, DeepSeek, Qwen, Kimi, MiniMax, Zhipu GLM, Mimo, and Custom (OpenAI-compatible). Choose a provider and fill the key in the dialog's "AI settings"; each provider's "Get API Key" link goes to its official key page.

Customizable prompt

Expand the prompt area in "AI settings" to edit the system prompt and control the AI's writing style and format; your custom content is saved locally with the settings.

Privacy

API Keys are stored only in your local browser (localStorage) and never uploaded to MD2Cards servers; content connects directly to the chosen provider. Providers blocked by browser CORS are forwarded via a local proxy that only relays and keeps nothing.

Share & save

Auto-save

Content and config auto-save to your browser locally (IndexedDB); preserved after refresh or reopen.

Share link

Click "Share" to generate a link containing all content and style; the recipient sees the full card without logging in.

Reset

The top-bar "Reset" clears local content and config and restores the initial sample; this cannot be undone, use with care.

FAQ

Here are the most frequently asked questions.

For fuller feature notes:Export · Templates · Open Workbench

Text overflows the card?

Reduce "Font size" or increase "Line height", or use the "rule split (===)" to divide content into multiple cards.

Can template colors be changed?

Yes. Override solid / gradient and palette in the "Background" panel; keep or leave the template default as you like.

Exported image not sharp?

Export width is the final pixel width; increase it for higher resolution. SVG is vector and never blurs when scaled.

Will my content leak?

Drafts stay only in your local browser, and API Keys are local too; AI calls go directly to the provider, not through MD2Cards servers.

Which platforms are supported?

Common formats for Xiaohongshu, WeChat and community posters are covered, with one-click 3:4 / 1:1 / 9:16 switching.

Ready? Let’s get started

MD2Cards · Write in Markdown, export content cards