Skip to content
🖥️ A Sublime Text 3 Plugin for Carbon. (
Branch: master
Clone or download
molnarmark Merge pull request #21 from gadflysu/master
added support for font size
Latest commit bbcf5e1 Apr 8, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
tests Issue #16: Add function to disable indent trimming with setting `trim… Jul 21, 2018
LICENSE Initial commit Feb 8, 2018
Main.sublime-menu Issue #19: Fix the error on the settings menu. Jan 19, 2019 added support for font size Apr 8, 2019
carbonSublime.sublime-commands updating carbonSublime with the carbon feature of JavaScript Enhancem… Mar 12, 2018
carbonSublime.sublime-settings added support for font size Apr 8, 2019

Getting Started

Carbon Sublime (or Carbon via Package Control) is a Sublime Text 3 Plugin for Carbon.


Install Carbon via Package Control.


Command Palette

You can use the command Carbon: share selection from the command palette (ctrl/cmd + shift + p) to open Carbon.


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_sublime"}

Then go into your file, select a region, and press the bound key.


You can open the configuration file via the menu:

Preferences > Package Settings > carbonSublime > Settings. It defaults to:

  "background-color": "rgba(12, 108, 189, 1)",
  "theme": "seti",
  "font-family": "Hack",
  "font-size": "16px",
  "drop-shadow": "true",
  "window-controls": "true",
  "width-adjustment": "true",
  "padding-vertical": "48px",
  "padding-horizontal": "32px",
  "line-numbers": "true",
  "language_mapping": {},
  "trim_indent": true
  • language_mapping: (dict) An extra setting which maps syntaxes to Carbon languages. The default (fallback) setting is written as LANGUAGE_MAPPING in
  • trim_indent: (bool) If set to true, indents are trimmed when a selection is made.
You can’t perform that action at this time.