Syntax Highlightings


Kate’s highlighting is powered by the KSyntaxHighlighting framework and supports 334 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
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
ConfigurationCiscoLight ThemeDark Theme
ConfigurationDoxyfileLight ThemeDark Theme
ConfigurationGit IgnoreLight ThemeDark Theme
ConfigurationGitoliteLight ThemeDark Theme
ConfigurationINI FilesLight 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
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)
Submit Example
Databaseprogress
Submit Example
HardwareAHDLLight ThemeDark Theme
HardwareSpice
Submit Example
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
MarkupCartoCSSLight ThemeDark Theme
MarkupCleanCSS
Submit Example
MarkupColdFusionLight ThemeDark Theme
MarkupConTeXt
Submit Example
MarkupDTD
Submit Example
MarkupDjango HTML TemplateLight ThemeDark Theme
MarkupDoxygenLight ThemeDark Theme
MarkupDoxygenLua
Submit Example
MarkupFTL
Submit Example
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
MarkupMarkdownLight ThemeDark Theme
MarkupMediaWiki
Submit Example
MarkupMetapost/Metafont
Submit Example
MarkupMustache/Handlebars (HTML)Light 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
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
OtherCUE Sheet
Submit Example
OtherChangeLog
Submit Example
OtherComments
Submit Example
OtherDebian ChangelogLight ThemeDark Theme
OtherDebian ControlLight ThemeDark Theme
OtherDiffLight ThemeDark Theme
OtherDockerfileLight 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/PHP
Submit Example
OtherLilyPondLight 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
OtherTigerLight ThemeDark Theme
OtherTodo.txtLight ThemeDark Theme
OtherTypeScript/PHP
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
ScientificGnuplot
Submit Example
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
ScriptsErlangLight ThemeDark Theme
ScriptsEuphoriaLight ThemeDark Theme
ScriptsFishLight ThemeDark Theme
ScriptsGNU Linker Script
Submit Example
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 Batch
Submit Example
ScriptsMason
Submit Example
ScriptsNSISLight 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
ScriptsQMLLight ThemeDark Theme
ScriptsQuake Script
Submit Example
ScriptsREXXLight ThemeDark Theme
ScriptsRakuLight ThemeDark Theme
ScriptsRubyLight ThemeDark Theme
ScriptsSchemeLight ThemeDark Theme
ScriptsSieveLight ThemeDark Theme
ScriptsTaskJuggler
Submit Example
ScriptsTcl/TkLight ThemeDark Theme
ScriptsTcshLight 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
SourcesATS
Submit Example
SourcesActionScript 2.0Light ThemeDark Theme
SourcesAda
Submit Example
SourcesAgdaLight ThemeDark Theme
SourcesBitbakeLight ThemeDark Theme
SourcesBooLight ThemeDark Theme
SourcesCLight ThemeDark Theme
SourcesC#Light ThemeDark Theme
SourcesC++Light ThemeDark Theme
SourcesCGiSLight ThemeDark Theme
SourcesCg
Submit Example
SourcesClipperLight ThemeDark Theme
SourcesClojureLight ThemeDark Theme
SourcesCommon LispLight ThemeDark Theme
SourcesComponent-Pascal
Submit Example
SourcesCrack
Submit Example
SourcesCurry
Submit Example
SourcesDLight 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
SourcesGo
Submit Example
SourcesGroovyLight ThemeDark Theme
SourcesHaskellLight ThemeDark Theme
SourcesHaxe
Submit Example
SourcesIDL
Submit Example
SourcesILERPG
Submit Example
SourcesISO C++Light ThemeDark Theme
SourcesIdris
Submit Example
SourcesInform
Submit Example
SourcesJavaLight ThemeDark Theme
SourcesJuliaLight ThemeDark Theme
SourcesKBasic
Submit Example
SourcesKDev-PG[-Qt] Grammar
Submit Example
SourcesKotlin
Submit Example
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
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
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
SourcesScala
Submit Example
SourcesSmaliLight ThemeDark Theme
SourcesSolidityLight ThemeDark Theme
SourcesTADS 3Light ThemeDark Theme
SourcesValaLight ThemeDark Theme
SourcesVarnish module spec fileLight ThemeDark Theme
SourcesYacc/BisonLight ThemeDark Theme
SourcesZonnon
Submit Example
SourcesnesC
Submit Example
Sourcesnoweb
Submit Example
SourcesxHarbour
Submit Example