Flags
Complete CLI reference for sss_code.
| Argument | Type | Default | Description |
|---|
<content> | path / - | — | Source file path, or - for stdin. |
--extension / -e | string | — | Force language by extension. Required when reading from stdin. |
--extra-syntaxes | path | — | Additional folder of .sublime-syntax files to load. |
Themes
| Flag | Type | Default | Description |
|---|
--theme | string | base16-ocean.dark | Theme file path or embedded theme name. |
--vim-theme | string | — | Theme from vim highlights. Format: group,bg,fg,style;... |
--list-themes / -L | bool | false | List available themes and exit. |
--list-file-types / -l | bool | false | List supported file types and exit. |
--build-cache | path | — | Generate a syntax/theme cache to the given directory and exit. |
Layout
| Flag | Type | Default | Description |
|---|
--code-background | color/grad/path | #323232 | #RRGGBBAA, h;c1;c2, v;c1;c2, or a wallpaper image path. |
--lines | range | .. | Crop to a line range, e.g. 10..40. |
--highlight-lines | range | .. | Emphasise a sub-range inside the crop. |
--line-numbers / -n | bool | true | Render line numbers in the gutter. |
--tab-width | u8 | 4 | Tabs render as this many spaces. |
--indent-chars / -i | chars | — | Comma-separated indent character set (whitespace markers). |
--hidden-chars | kv list | — | Show hidden chars: space:·,tab:»,eol:¶. |
Shared
All [general] keys from the config reference apply: padding, fonts, window chrome, shadow, background gradient, watermark.