Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/robert-z/code-snapshot
https://github.com/robert-z/code-snapshot
Last synced: 8 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/robert-z/code-snapshot
- Owner: robert-z
- Created: 2020-01-19T22:29:06.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T14:16:03.000Z (almost 2 years ago)
- Last Synced: 2023-02-28T16:43:06.134Z (over 1 year ago)
- Language: JavaScript
- Size: 526 KB
- Stars: 27
- Watchers: 2
- Forks: 7
- Open Issues: 24
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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)