Converts Markdown articles into professionally formatted, multi-page images optimized for Xiaohongshu's 3:4 aspect ratio.
xhs-md2img is a specialized tool designed for content creators who need to repurpose text-based Markdown content into visually appealing social media posts. By leveraging a headless browser environment, it transforms articles into a series of high-quality images (1440x1920) with automatic pagination and layout management. This skill is ideal for automating the bridge between technical writing and social media marketing, ensuring that typography and image embedding remain consistent and professional without manual graphic design work.
주요 기능
010 GitHub stars
02Batch export Markdown to high-resolution images
03Customizable typography including font family and base font size
04Automatic content pagination using CSS column-flow logic
05Optimized 3:4 aspect ratio (1440x1920) specifically for Xiaohongshu
06Smart local image resolution and directory conflict handling
사용 사례
01Repurposing technical blog posts into Xiaohongshu carousel slides
02Automating the creation of visual long-form social media content
03Generating high-quality image-based documentation for mobile platforms