How to Customize Image Size in MD2Card
xiaohongshu card
MD2Card extends Markdown syntax to support custom image sizing

By extending Markdown syntax, MD2Card enables custom image sizes.
Markdown Syntax

Example

Result

Notes:
- Pure numbers default to
px:800x600parses as800px x 600px - You can set either width or height; the other dimension auto-scales