Skip to content

Code Highlighting Preview

CosmoQuickView renders source code from 270+ programming languages with accurate syntax highlighting powered by the Chroma engine.

Supported file extensions

.py, .go, .js, .ts, .rs, .swift, .java, .c, .cpp, .rb, .php, .sql, .sh, and many more.

What you see

  • Syntax-highlighted source code with language-aware token coloring
  • Optional line numbers alongside the gutter
  • Copy button to copy the raw source to the clipboard
  • Automatic light/dark theme based on the system appearance

Configuration

Set theme (github/monokai/dracula), font_size, and line_numbers via cosmoquicklook config set <key> <value>.

Screenshot

Screenshot not yet captured — reserved path: /screenshots/code.png.