Markdown Image Converter

March 29, 2026 ยท View on GitHub

Convert your markdown files to PNG/JPEG images directly in VS Code. Perfect for creating social media posts, documentation screenshots, or visual content from your markdown files.

Default conversion demo

โœจ Features

  • ๐Ÿ–ผ๏ธ One-Click Conversion: Convert any markdown file to PNG/JPEG with a single command
  • ๐Ÿ“ฑ Multiple Output Formats: Support for PNG and JPEG formats with customizable quality settings
  • ๐ŸŽจ Zenn-style Formatting: Beautiful output using Zenn's markdown styling
  • ๐Ÿ“ Resolution Options: Choose between standard and HD quality outputs
  • โšก Split Mode: Split and convert markdown sections using customizable delimiters (e.g., ---)
  • ๐ŸŽฏ Flexible Output: Customizable output directory and file naming

๐Ÿ“ฆ Installation

  1. Open VS Code
  2. Press Ctrl+P / Cmd+P
  3. Type ext install ryuya.markdown-image-converter
  4. Press Enter

๐Ÿš€ Quick Start

  1. Open any markdown file
  2. Use the command palette (Ctrl+Shift+P / Cmd+Shift+P) and type "Convert to Image"
  3. Choose your desired output format (PNG/JPEG)
  4. The image will be generated based on your settings

๐Ÿ“ Usage

Split Mode Demo

Split your markdown into multiple images using custom delimiters:

Split mode demo

โš™๏ธ Extension Settings

This extension contributes the following settings:

SettingTypeDefaultDescription
markdown-image-converter.outputFormatstring"png"Default output format ("png" or "jpeg")
markdown-image-converter.resolutionstring"hd"Output resolution ("standard" or "hd")
markdown-image-converter.splitterstring""Delimiter to split markdown sections (e.g., "---")
markdown-image-converter.splitOutputDirstring"{name}-{format}"Output directory pattern for split images
markdown-image-converter.marginnumber12Margin around the edges of the exported image, in pixels
markdown-image-converter.executablePathstring""Chrome or Chromium executable path to use for rendering

โŒจ๏ธ Commands

CommandDescription
markdown-image-converter.exportPNGConvert to PNG
markdown-image-converter.exportJPEGConvert to JPEG

๐Ÿ” Known Issues @ Roadmap

  • Large markdown files may take longer to convert

๐Ÿ“š Resources

๐Ÿ“„ License

This project is licensed under the MIT License - see the LICENSE file for details.


๐ŸŒŸ Enjoying the extension? Rate it on the marketplace!

Found a bug? Please open an issue.

Made with โค๏ธ by Ryuya