Skip to content

Syntax Highlighting


Kate's highlighting is powered by the KSyntaxHighlighting framework and supports 386 different languages.

Below you can find a list of all supported languages together with example renderings of the highlighting both as light and dark theme HTML pages.

Submissions of new language definitions & examples are very welcome, head over to the KSyntaxHighlighting repository README for details.

CategoryLanguageLight & Dark Theme Examples
3DG-CodeLight ThemeDark Theme
3DGLSLLight ThemeDark Theme
3DKlipper ConfigLight ThemeDark Theme
3DKlipper G-CodeLight ThemeDark Theme
3DOpenSCADLight ThemeDark Theme
3DPLYLight ThemeDark Theme
3DPOV-RayLight ThemeDark Theme
3DRenderMan RIBLight ThemeDark Theme
3DSTLLight ThemeDark Theme
3DVRMLLight ThemeDark Theme
3DWavefront OBJLight ThemeDark Theme
AssemblerAVR AssemblerLight ThemeDark Theme
AssemblerAsm6502Light ThemeDark Theme
AssemblerCommon Intermediate Language (CIL)Light ThemeDark Theme
AssemblerGNU AssemblerLight ThemeDark Theme
AssemblerIntel x86 (FASM)Light ThemeDark Theme
AssemblerIntel x86 (NASM)Light ThemeDark Theme
AssemblerMIPS AssemblerLight ThemeDark Theme
AssemblerMotorola 68k (VASM/Devpac)Light ThemeDark Theme
AssemblerMotorola DSP56kLight ThemeDark Theme
AssemblerPicAsmLight ThemeDark Theme
Configuration.desktopLight ThemeDark Theme
ConfigurationAdblock PlusLight ThemeDark Theme
ConfigurationApache ConfigurationLight ThemeDark Theme
ConfigurationCabalLight ThemeDark Theme
ConfigurationCiscoLight ThemeDark Theme
ConfigurationDoxyfileLight ThemeDark Theme
ConfigurationGit IgnoreLight ThemeDark Theme
ConfigurationGitoliteLight ThemeDark Theme
ConfigurationINI FilesLight ThemeDark Theme
ConfigurationJsonnetLight ThemeDark Theme
ConfigurationKate ConfigLight ThemeDark Theme
ConfigurationKconfigLight ThemeDark Theme
ConfigurationNagiosLight ThemeDark Theme
ConfigurationQDoc ConfigurationLight ThemeDark Theme
ConfigurationTOMLLight ThemeDark Theme
ConfigurationVarnish Configuration LanguageLight ThemeDark Theme
ConfigurationVarnish Test Case languageLight ThemeDark Theme
ConfigurationWINE ConfigLight ThemeDark Theme
ConfigurationfstabLight ThemeDark Theme
Configurationkdesrc-buildrcLight ThemeDark Theme
Configurationmergetag textLight ThemeDark Theme
Configurationnginx ConfigurationLight ThemeDark Theme
Configurationsystemd unitLight ThemeDark Theme
Configurationx.org ConfigurationLight ThemeDark Theme
Database4GL
Submit Example
Database4GL-PER
Submit Example
DatabaseLDIFLight ThemeDark Theme
DatabaseSQLLight ThemeDark Theme
DatabaseSQL (MySQL)
Submit Example
DatabaseSQL (Oracle)Light ThemeDark Theme
DatabaseSQL (PostgreSQL)Light ThemeDark Theme
Databaseprogress
Submit Example
HardwareAHDLLight ThemeDark Theme
HardwareSpiceLight ThemeDark Theme
HardwareSystemCLight ThemeDark Theme
HardwareSystemVerilog
Submit Example
HardwareVHDLLight ThemeDark Theme
HardwareVera
Submit Example
HardwareVerilogLight ThemeDark Theme
MarkupASN.1Light ThemeDark Theme
MarkupASPLight ThemeDark Theme
MarkupAppArmor Security ProfileLight ThemeDark Theme
MarkupAsciiDocLight ThemeDark Theme
MarkupBibTeXLight ThemeDark Theme
MarkupCSSLight ThemeDark Theme
MarkupCartoCSS MMLLight ThemeDark Theme
MarkupCartoCSS MSSLight ThemeDark Theme
MarkupCleanCSS
Submit Example
MarkupColdFusionLight ThemeDark Theme
MarkupConTeXtLight ThemeDark Theme
MarkupCucumber Gherkin featureLight ThemeDark Theme
MarkupDTD
Submit Example
MarkupDjango HTML TemplateLight ThemeDark Theme
MarkupDoxygenLight ThemeDark Theme
MarkupDoxygenLua
Submit Example
MarkupFTL
Submit Example
MarkupFluentLight ThemeDark Theme
MarkupGNU GettextLight ThemeDark Theme
MarkupGlossTex
Submit Example
MarkupHTMLLight ThemeDark Theme
MarkupHamlLight ThemeDark Theme
MarkupHamlet
Submit Example
MarkupJSONLight ThemeDark Theme
MarkupJSPLight ThemeDark Theme
MarkupJavadoc
Submit Example
MarkupJiraLight ThemeDark Theme
MarkupLESSCSSLight ThemeDark Theme
MarkupLaTeXLight ThemeDark Theme
MarkupMAB-DB
Submit Example
MarkupMako
Submit Example
MarkupMapCSSLight ThemeDark Theme
MarkupMarkdownLight ThemeDark Theme
MarkupMediaWiki
Submit Example
MarkupMetapost/Metafont
Submit Example
MarkupMustache/Handlebars (HTML)Light ThemeDark Theme
MarkupOrg ModeLight ThemeDark Theme
MarkupPango
Submit Example
MarkupPostScript
Submit Example
MarkupPostScript Printer Description
Submit Example
MarkupPug
Submit Example
MarkupR MarkdownLight ThemeDark Theme
MarkupR documentationLight ThemeDark Theme
MarkupRELAX NG
Submit Example
MarkupRelaxNG-Compact
Submit Example
MarkupRich Text Format
Submit Example
MarkupRoff
Submit Example
MarkupRuby/Rails/RHTMLLight ThemeDark Theme
MarkupSASSLight ThemeDark Theme
MarkupSCSSLight ThemeDark Theme
MarkupSGML
Submit Example
MarkupSiSU
Submit Example
MarkupTT2
Submit Example
MarkupTexinfo
Submit Example
MarkupTextile
Submit Example
MarkupTroff Mandoc
Submit Example
MarkupTwig/Twig
Submit Example
MarkupTypstLight ThemeDark Theme
MarkupVueLight ThemeDark Theme
MarkupWesnoth Markup LanguageLight ThemeDark Theme
MarkupXMLLight ThemeDark Theme
MarkupXML (Debug)
Submit Example
MarkupXUL
Submit Example
MarkupYAMLLight ThemeDark Theme
MarkupYANGLight ThemeDark Theme
MarkupreStructuredTextLight ThemeDark Theme
Markuptxt2tagsLight ThemeDark Theme
MarkupvCard, vCalendar, iCalendar
Submit Example
MarkupxsltLight ThemeDark Theme
OtherABC
Submit Example
OtherAlertsLight ThemeDark Theme
OtherCMakeLight ThemeDark Theme
OtherCSS/PHPLight ThemeDark Theme
OtherCSS/Twig
Submit Example
OtherCSVLight ThemeDark Theme
OtherCSV (pipe)Light ThemeDark Theme
OtherCSV (semicolon)Light ThemeDark Theme
OtherCSV (whitespace)Light ThemeDark Theme
OtherCUE Sheet
Submit Example
OtherChangeLog
Submit Example
OtherComments
Submit Example
OtherDebian ChangelogLight ThemeDark Theme
OtherDebian ControlLight ThemeDark Theme
OtherDiffLight ThemeDark Theme
OtherDockerfileLight ThemeDark Theme
OtherEarthfileLight ThemeDark Theme
OtherEmailLight ThemeDark Theme
OtherGDBLight ThemeDark Theme
OtherGDB BacktraceLight ThemeDark Theme
OtherGDB InitLight ThemeDark Theme
OtherGit RebaseLight ThemeDark Theme
OtherGraphQLLight ThemeDark Theme
OtherHunspell Affix File
Submit Example
OtherHunspell Dictionary File
Submit Example
OtherHunspell Thesaurus File
Submit Example
OtherHunspell Thesaurus Index File
Submit Example
OtherInnoSetupLight ThemeDark Theme
OtherIntel HEXLight ThemeDark Theme
OtherJamLight ThemeDark Theme
OtherJava PropertiesLight ThemeDark Theme
OtherJavaScript React (JSX)/PHP
Submit Example
OtherJavaScript React (JSX)/Twig
Submit Example
OtherJavaScript/PHP
Submit Example
OtherJavaScript/Twig
Submit Example
OtherLilyPondLight ThemeDark Theme
OtherLog File (advanced)Light ThemeDark Theme
OtherLog File (simplified)Light ThemeDark Theme
OtherLogcatLight ThemeDark Theme
OtherM3ULight ThemeDark Theme
OtherMIBLight ThemeDark Theme
OtherMakefileLight ThemeDark Theme
OtherMesonLight ThemeDark Theme
OtherModelinesLight ThemeDark Theme
OtherMusic PublisherLight ThemeDark Theme
OtherMustache/Handlebars (HTML)/PHP
Submit Example
OtherNinjaLight ThemeDark Theme
OtherOverpass QLLight ThemeDark Theme
OtherPGN
Submit Example
OtherQMakeLight ThemeDark Theme
OtherRPM SpecLight ThemeDark Theme
OtherSELinux File ContextsLight ThemeDark Theme
OtherSPDX-Comments
Submit Example
OtherSnort/SuricataLight ThemeDark Theme
OtherSubRip SubtitlesLight ThemeDark Theme
OtherTSVLight ThemeDark Theme
OtherTextProtoLight ThemeDark Theme
OtherTigerLight ThemeDark Theme
OtherTodo.txtLight ThemeDark Theme
OtherTypeScript/PHP
Submit Example
OtherTypeScript/Twig
Submit Example
OtherValgrind Suppression
Submit Example
OtherWayland TraceLight ThemeDark Theme
OtherYARALight ThemeDark Theme
ScientificAnsys
Submit Example
ScientificB-Method
Submit Example
ScientificFASTQ
Submit Example
ScientificGAP
Submit Example
ScientificGDL
Submit Example
ScientificGnuplotLight ThemeDark Theme
ScientificMagma
Submit Example
ScientificMathematicaLight ThemeDark Theme
ScientificMatlabLight ThemeDark Theme
ScientificMaximaLight ThemeDark Theme
ScientificMetamathLight ThemeDark Theme
ScientificOctaveLight ThemeDark Theme
ScientificR ScriptLight ThemeDark Theme
ScientificReplicode
Submit Example
ScientificStanLight ThemeDark Theme
ScientificStataLight ThemeDark Theme
ScientificTI Basic
Submit Example
Scientificdot
Submit Example
ScientificscilabLight ThemeDark Theme
Scientificyacas
Submit Example
Scripts4DOS BatchToMemory
Submit Example
ScriptsAMPLE
Submit Example
ScriptsAWKLight ThemeDark Theme
ScriptsAutoHotKeyLight ThemeDark Theme
ScriptsBashLight ThemeDark Theme
ScriptsBrightScriptLight ThemeDark Theme
ScriptsCLISTLight ThemeDark Theme
ScriptsCoffeeScriptLight ThemeDark Theme
ScriptsCubeScriptLight ThemeDark Theme
ScriptsElvishLight ThemeDark Theme
ScriptsErlangLight ThemeDark Theme
ScriptsEuphoriaLight ThemeDark Theme
ScriptsFishLight ThemeDark Theme
ScriptsGNU Linker Script
Submit Example
ScriptsGodotLight ThemeDark Theme
ScriptsJLight ThemeDark Theme
ScriptsJCLLight ThemeDark Theme
ScriptsJavaScriptLight ThemeDark Theme
ScriptsJavaScript React (JSX)Light ThemeDark Theme
ScriptsLSL
Submit Example
ScriptsLuaLight ThemeDark Theme
ScriptsMEL
Submit Example
ScriptsMS-DOS BatchLight ThemeDark Theme
ScriptsMason
Submit Example
ScriptsNSISLight ThemeDark Theme
ScriptsNixLight ThemeDark Theme
ScriptsPHP (HTML)Light ThemeDark Theme
ScriptsPHP/PHP
Submit Example
ScriptsPerlLight ThemeDark Theme
ScriptsPig
Submit Example
ScriptsPikeLight ThemeDark Theme
ScriptsPowerShellLight ThemeDark Theme
ScriptsPraat
Submit Example
ScriptsPuppet
Submit Example
ScriptsPythonLight ThemeDark Theme
ScriptsQFaceLight ThemeDark Theme
ScriptsQMLLight ThemeDark Theme
ScriptsQuake Script
Submit Example
ScriptsREXXLight ThemeDark Theme
ScriptsRacketLight ThemeDark Theme
ScriptsRakuLight ThemeDark Theme
ScriptsRobotLight ThemeDark Theme
ScriptsRubyLight ThemeDark Theme
ScriptsSchemeLight ThemeDark Theme
ScriptsSieveLight ThemeDark Theme
ScriptsTaskJuggler
Submit Example
ScriptsTcl/TkLight ThemeDark Theme
ScriptsTcshLight ThemeDark Theme
ScriptsTwig (HTML)Light ThemeDark Theme
ScriptsTypeScriptLight ThemeDark Theme
ScriptsTypeScript React (TSX)Light ThemeDark Theme
ScriptsUnrealScriptLight ThemeDark Theme
ScriptsVelocity
Submit Example
ScriptsXonotic Script
Submit Example
ScriptsZshLight ThemeDark Theme
Scriptsferite
Submit Example
Scriptsk
Submit Example
Scriptsq
Submit Example
Scriptssed
Submit Example
SourcesABAP
Submit Example
SourcesANS-Forth94
Submit Example
SourcesANSI C89
Submit Example
SourcesANTLRLight ThemeDark Theme
SourcesATS
Submit Example
SourcesActionScript 2.0Light ThemeDark Theme
SourcesAdaLight ThemeDark Theme
SourcesAgdaLight ThemeDark Theme
SourcesBitbakeLight ThemeDark Theme
SourcesBooLight ThemeDark Theme
SourcesCLight ThemeDark Theme
SourcesC#Light ThemeDark Theme
SourcesC++Light ThemeDark Theme
SourcesCGiSLight ThemeDark Theme
SourcesCOBOLLight ThemeDark Theme
SourcesCashScriptLight ThemeDark Theme
SourcesCg
Submit Example
SourcesClipperLight ThemeDark Theme
SourcesClojureLight ThemeDark Theme
SourcesCommon LispLight ThemeDark Theme
SourcesComponent-Pascal
Submit Example
SourcesCrack
Submit Example
SourcesCrystalLight ThemeDark Theme
SourcesCurry
Submit Example
SourcesDLight ThemeDark Theme
SourcesDartLight ThemeDark Theme
SourcesE Language
Submit Example
SourcesEiffel
Submit Example
SourcesElixirLight ThemeDark Theme
SourcesElmLight ThemeDark Theme
SourcesFSharp
Submit Example
SourcesFlatBuffersLight ThemeDark Theme
SourcesFortran (Fixed Format)Light ThemeDark Theme
SourcesFortran (Free Format)Light ThemeDark Theme
SourcesFreeBASIC
Submit Example
SourcesGCCExtensions
Submit Example
SourcesGNU M4Light ThemeDark Theme
SourcesGPRBuildLight ThemeDark Theme
SourcesGleamLight ThemeDark Theme
SourcesGoLight ThemeDark Theme
SourcesGroovyLight ThemeDark Theme
SourcesHareLight ThemeDark Theme
SourcesHaskellLight ThemeDark Theme
SourcesHaxe
Submit Example
SourcesIDL
Submit Example
SourcesILERPGLight ThemeDark Theme
SourcesISO C++Light ThemeDark Theme
SourcesIdris
Submit Example
SourcesInform
Submit Example
SourcesJavaLight ThemeDark Theme
SourcesJava ModuleLight ThemeDark Theme
SourcesJuliaLight ThemeDark Theme
SourcesKBasic
Submit Example
SourcesKDev-PG[-Qt] Grammar
Submit Example
SourcesKotlinLight ThemeDark Theme
SourcesLLVM
Submit Example
SourcesLPCLight ThemeDark Theme
SourcesLex/FlexLight ThemeDark Theme
SourcesLiterate Curry
Submit Example
SourcesLiterate HaskellLight ThemeDark Theme
SourcesLogtalkLight ThemeDark Theme
SourcesModelica
Submit Example
SourcesModula-2Light ThemeDark Theme
SourcesModula-2 (ISO only)Light ThemeDark Theme
SourcesModula-2 (PIM only)Light ThemeDark Theme
SourcesModula-2 (R10 only)Light ThemeDark Theme
SourcesModula-3
Submit Example
SourcesMonoBasic
Submit Example
SourcesNemerle
Submit Example
SourcesNimLight ThemeDark Theme
SourcesOORS
Submit Example
SourcesOPAL
Submit Example
SourcesObjective CamlLight ThemeDark Theme
SourcesObjective Caml Ocamllex
Submit Example
SourcesObjective Caml Ocamlyacc
Submit Example
SourcesObjective-CLight ThemeDark Theme
SourcesObjective-C++Light ThemeDark Theme
SourcesOdinLight ThemeDark Theme
SourcesOpenCL
Submit Example
SourcesPL/I
Submit Example
SourcesPascalLight ThemeDark Theme
SourcesPonyLight ThemeDark Theme
SourcesPrologLight ThemeDark Theme
SourcesProtobufLight ThemeDark Theme
SourcesPure
Submit Example
SourcesPureBasicLight ThemeDark Theme
SourcesPureScript
Submit Example
SourcesRETROLight ThemeDark Theme
SourcesRSI IDL
Submit Example
SourcesRapidQ
Submit Example
SourcesRenPyLight ThemeDark Theme
SourcesRustLight ThemeDark Theme
SourcesSELinux CIL PolicyLight ThemeDark Theme
SourcesSELinux PolicyLight ThemeDark Theme
SourcesSMLLight ThemeDark Theme
SourcesSather
Submit Example
SourcesScalaLight ThemeDark Theme
SourcesSmaliLight ThemeDark Theme
SourcesSolidityLight ThemeDark Theme
SourcesSwiftLight ThemeDark Theme
SourcesTADS 3Light ThemeDark Theme
SourcesTLA+Light ThemeDark Theme
SourcesTerraformLight ThemeDark Theme
SourcesVLight ThemeDark Theme
SourcesValaLight ThemeDark Theme
SourcesVarnish module spec fileLight ThemeDark Theme
SourcesViperLight ThemeDark Theme
SourcesYacc/BisonLight ThemeDark Theme
SourcesZigLight ThemeDark Theme
SourcesZonnon
Submit Example
SourcesnesC
Submit Example
Sourcesnoweb
Submit Example
Sourcesopsi-scriptLight ThemeDark Theme
SourcesxHarbour
Submit Example