Editing Text and Code

Syntax Highlighting and Languages

typealot highlights syntax automatically based on a file's extension. The following languages are supported:

  • Markdown (.md, .markdown)
  • JavaScript (.js, .jsx) and TypeScript (.ts, .tsx)
  • Python (.py)
  • Rust (.rs)
  • Go (.go)
  • C (.c, .h) and C++ (.cpp, .cc, .cxx, .hpp, .hh, .hxx)
  • C# (.cs)
  • Java (.java) and Kotlin (.kt, .kts)
  • Swift (.swift)
  • PHP (.php)
  • Ruby (.rb)
  • HTML (.html, .htm) and CSS (.css)
  • JSON (.json), YAML (.yaml, .yml), TOML (.toml), and INI (.ini, .cfg, .conf)
  • SQL (.sql)
  • Shell (.sh, .bash, .zsh) and PowerShell (.ps1, .psm1, .psd1)

Files in any other format open as plain text.