Awesome
<p align="center"> <img src="https://img.shields.io/github/v/release/molnarmark/carbonsublime"/> <img src="https://img.shields.io/badge/-Sublime%20Text%204-black?style=flat-rounded&logo=data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAA4AAAAOCAMAAAAolt3jAAAAAXNSR0IB2cksfwAAAAlwSFlzAAALEwAACxMBAJqcGAAAALFQTFRFAAAA/681/6w2/6s2/6s2/6w2/6s2/6s2/6s2/6s2/642/6w2/6s2/6s2/6s2/6s2/6s2/6s2/6s2/6s2/6s2/603/ao2/6s2/6w2/641/6s2/6s2/6w2/qw2/6s2/6s2/6s2/qs29qU1/ao2/6w2/6s2/6s28KEz35Yv4pgw96Y1/6s29qU05psx4Zgw6p0y/6s2/6s2/6s26J0y/6s2/6s2/6s2/6s2/q02/6s2/6w2Gw5i1gAAADt0Uk5TAAEwd74LM73s/wJHod385+/+5a5cB/JqGQHbhjEugtcXWtP/H4HJ9P///8z////78siDHdygWh8CWRR3ufuBAAAAc0lEQVR4nGNggAJGJmYWGJuVjZmdg5MTzObi5uHl4wQBMJefEwoEwFwwU1BIWEQUwRUTl5BkQHA5OaWkZcBcWTl5qAjUHgVFJWUEV0VVTV1DUwvK1RYEyejo6ukjGWVgaGQM5fKZmJqZW0ANEuKxtII5HgC7swjoiG1GPAAAAABJRU5ErkJggg=="/> </p>🎨 Sublime Text Plugin for Carbon
Installation
Install Carbon via Package Control.
Command Palette Usage
You can use the command Carbon: Share Selection
from the command palette (ctrl/cmd + shift + p) to open Carbon.
Keymap Usage
This package doesn't provide a default keymap. If you need to, add a keymap setting like the following to your Sublime keymap file:
{ "keys": ["f3"], "command": "carbon" }
Then go into your file, select a region, and press the bound key.
Settings
Use Preferences: Carbon Settings
from the command palette (ctrl/cmd + shift + p)
Or you can open the configuration file via the menu:
Preferences > Package Settings > Carbon > Settings. By default, it uses the initial configuration from Carbon:
{
"trim_indent": true,
"show_status_messages": true,
"use_emojis_in_status_messages": true,
"default": {
"paddingVertical": "48px",
"paddingHorizontal": "32px",
"backgroundImage": null,
"backgroundImageSelection": null,
"backgroundMode": "color",
"backgroundColor": "rgba(72,112,126,1)",
"dropShadow": true,
"dropShadowOffsetY": "20px",
"dropShadowBlurRadius": "68px",
"theme": "seti",
"windowTheme": "none",
"language": "",
"fontFamily": "Hack",
"fontSize": "14px",
"lineHeight": "133%",
"windowControls": true,
"widthAdjustment": true,
"lineNumbers": true,
"firstLineNumber": 1,
"exportSize": "2x",
"watermark": false,
"squaredImage": false,
"hiddenCharacters": false,
"name": "Hello",
"width": 680
}
}
trim_indent
- If set to true, lines starting with indents are trimmed. (true by default)
show_status_messages
- If set to true, success/error messages are displayed in the status bar. (true by default)
use_emojis_in_status_messages
- If set to true, indicator emojis are added the success/error messages in the status bar. (true by default)
Custom Configuration
- Head over to the Carbon.
- Configure the editor to your preferred look.
- Click the Misc tab.
- Press Export config.
- Paste the downloaded configuration under the default property in the settings.