ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Carbon

by molnarmark ALL

🚀 A Sublime Text Plugin for Carbon. (https://carbon.now.sh)

Details

Installs

  • Total 5K
  • Win 2K
  • Mac 1K
  • Linux 866
Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10 Jul 9 Jul 8 Jul 7 Jul 6 Jul 5 Jul 4 Jul 3 Jul 2 Jul 1 Jun 30 Jun 29 Jun 28 Jun 27 Jun 26 Jun 25 Jun 24 Jun 23 Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13
Windows 0 0 0 0 0 0 0 0 0 1 1 0 0 0 1 0 0 0 1 0 1 0 0 1 0 1 0 0 0 1 1 2 0 0 0 1 0 0 2 0 0 0 0 0 0
Mac 0 0 1 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 1 0 0 0 0 1 0 0 0 0 0 1 0 0 0 0 0 0 0 1 0 0 0 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 1 0 0 1 0 0 1 0

Readme

Source
raw.​githubusercontent.​com

🎨 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.