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

https://github.com/thorstenhans/vscode-code-to-image


https://github.com/thorstenhans/vscode-code-to-image

Last synced: about 1 year ago
JSON representation

Awesome Lists containing this project

README

          

# Code to Image

With *Code to Image*, you can quickly create beautiful images from your code leveraging [ray.so](https://ray.so).

## Usage

1. Open command palette `[CMD+Shift+P]` (`[Ctrl+Shift+P]` on Windows | Linux)
2. Type `Code to Image` and use either `from selection` or `from document`
3. [ray.so](https://ray.so) will show your code as beautiful image 💜

## Features

### Create image from current selection

![Image from current selection](https://github.com/ThorstenHans/vscode-code-to-image/raw/main/images/selection-to-image.gif)

### Create image from entire document

![Image from entire document](https://github.com/ThorstenHans/vscode-code-to-image/raw/main/images/doc-to-image.gif)

## Extension Settings

This extension contributes the following settings:

* `code_to_image.renderBackground`: render background
* `code_to_image.renderDarkMode`: render image in dark mode
* `code_to_image.autoDetectLanguage`: let ray.so try to detect the code language
* `code_to_image.theme`: choose a color theme for your image

## Release Notes

### 0.0.1

Initial release of *Code to Image*

### 0.0.3

* Update marketplace listing
* Set default image title to snippet

### 0.0.4

* Add usage instructions