ericadamski / vscode-carbon_now_sh

A Code package to open the current editor content in carbon.now.sh
https://marketplace.visualstudio.com/items?itemName=ericadamski.carbon-now-sh
36 stars 14 forks source link
code vscode vscode-extension vscode-plugin

Marketplace Version Installs

carbon-now-sh

A VS Code extension to open the current editor content in carbon.now.sh.

Simply highlight the code you want to capture, and run the Carbon extension. You'll be redirected to carbon.now.sh with your selected code populating the textarea.

vscode-carbon now sh

Running the Extension

There are three ways to run the carbon-now-sh extension.

Overriding Carbon Options

In your VSCode settings, you can override the carbon defaults using these settings:

{
    "carbon.backgroundColor": "rgba(0,0,0,0)",
    "carbon.theme": "seti",
    "carbon.dropShadow": true,
    "carbon.windowControls": true,
    "carbon.autoAdjustWidth": true,
    "carbon.paddingVertical": 24,
    "carbon.paddingHorizontal": 16,
    "carbon.lineNumbers": false,
    "carbon.fontFamily": "Hack",
    "carbon.fontSize": 13
}