VS Code Markdown Copier Extension
Description
VS Code Markdown Copier is a powerful extension that allows you to easily copy code, files, and folders as Markdown-formatted text. This extension is perfect for developers who frequently need to share code snippets or file contents in a Markdown-friendly format, such as for documentation or collaborative discussions.
Features
Copy Selected Code as Markdown:
- Select code in the editor
- Right-click and choose "Copy as Markdown"
- The selected code, along with the project name and file path, is copied to the clipboard in Markdown format
Copy Single or Multiple Files as Markdown:
- Select one or more files in the Explorer
- Right-click and choose "Copy as Markdown"
- The content of the selected files, along with the project name and file paths, is copied to the clipboard in Markdown format
Copy Folders as Markdown:
- Select a folder in the Explorer
- Right-click and choose "Copy as Markdown"
- The content of all text files within the folder (including subfolders) is recursively copied to the clipboard in Markdown format, along with the project name and file paths
Smart File Type Detection:
- Automatically detects and processes only text-based files
- Ignores binary files like images and audio files
Installation
- Open Visual Studio Code
- Go to the Extensions view (Ctrl+Shift+X or Cmd+Shift+X)
- Search for "VS Code Markdown Copier"
- Click Install
Alternatively, you can download the .vsix file from the releases page and install it manually.
Usage
- Select code, file(s), or folder(s) in VS Code
- Right-click to open the context menu
- Choose "Copy as Markdown"
- The selected content is now in your clipboard, formatted as Markdown
Requirements
- Visual Studio Code version 1.60.0 or higher
Extension Settings
This extension does not add any VS Code settings.
Known Issues
Currently, there are no known issues. If you encounter any problems, please report them on the GitHub issues page.
Contributing
Contributions are welcome! Here's how you can contribute:
- Fork the repository
- Create a new branch (
git checkout -b feature/AmazingFeature
)
- Make your changes
- Commit your changes (
git commit -m 'Add some AmazingFeature'
)
- Push to the branch (
git push origin feature/AmazingFeature
)
- Open a Pull Request
License
This project is licensed under the MIT License - see the LICENSE file for details.
Project Link: https://github.com/c4bbage/copy2md.vscode
Acknowledgements