Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>copy2mdNew to Visual Studio Code? Get it now.
copy2md

copy2md

c4bbage

|
69 installs
| (0) | Free
Copy code, files, and folders as Markdown
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

copy2md

A VSCode extension that helps you copy code and files as Markdown with proper formatting.

Features

  1. Copy Selection → Markdown:

    • Select code in the editor
    • Right-click and choose "Copy Selection → Markdown"
    • The selected code is copied with:
      • Project name
      • File path
      • Line numbers
      • Language-specific syntax highlighting
  2. Copy File → Markdown:

    • Works in both editor and explorer:
      • Right-click in editor to copy current file
      • Select file(s) in explorer to copy multiple files
    • Supports both code files and images
    • Includes project name and relative paths
    • Maintains code structure with language detection
  3. Copy Tabs → Markdown:

    • Right-click in editor and choose "Copy Tabs → Markdown"
    • Copies all currently opened editor tabs
    • Handles both code files and images
    • Includes project name and paths
    • Uses proper language detection for syntax highlighting

Installation

  1. Open Visual Studio Code
  2. Go to Extensions (Ctrl+Shift+X or Cmd+Shift+X)
  3. Search for "copy2md"
  4. Click Install

Or install from VS Code Marketplace

Requirements

  • Visual Studio Code version 1.60.0 or higher

License

MIT License - see the LICENSE file for details.

Links

  • GitHub Repository
  • Report Issues
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft