Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/robert-z/code-snapshot


https://github.com/robert-z/code-snapshot

Last synced: 8 days ago
JSON representation

Awesome Lists containing this project

README

        

# Code Snapshot

`Code Snapshot` is a VS Code extension that tries to make your life easier. When you are coding, you may want to take a photo of your work to share it in your social media or presentations. `Code Snapshot` is your tool! Open the extension, select the code that you want to share and take beautiful screenshots of your code.

## Features
- Save screenshots of your code

## Usage
1. Open the command palette (Ctrl+Shift+P on Windows and Linux, Cmd+Shift+P on OS X) and search for `Code Snapshot`.
2. Select the code you'd like to screenshot.
3. Adjust the width of the screenshot if desired.
4. Click the shutter button to save the screenshot.

**Tips**:
- You can also start `Code Snapshot` by selecting the code, click on the right button, and selecting `Code Snapshot`

## Contributing
The source for this extension is available on [github](https://github.com/robert-z/code-snapshot). Contributions are extremely welcome! If anyone feels that there is something missing or would like to suggest improvements please [open a new issue](https://github.com/robert-z/code-snapshot/issues) or send a pull request!

## Credits
- [Anatolii Saienko (@tsayen)](https://github.com/tsayen) for his work on [DOM to image](https://github.com/tsayen/dom-to-image), a library which can turn arbitrary DOM node into a vector (SVG) or raster (PNG or JPEG) image, written in JavaScrip

- [Eli Grey (@eligrey)](https://github.com/eligrey) for [FileSaver](https://github.com/eligrey/FileSaver.js), a solution to saving files on the client-side

- [Artem (@komarovartem)](https://github.com/komarovartem) for [colorPicker](https://github.com/komarovartem/colorPicker), a simple JavaScript colorpicker which supports transparency and gradient.

## License
[MIT](https://opensource.org/licenses/MIT)