跳至内容

语法高亮


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-码Light ThemeDark Theme
3DGLSLLight ThemeDark Theme
3DKlipper 剪贴板配置Light ThemeDark Theme
3DKlipper 剪贴板 G 码Light 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
汇编AVR 汇编Light ThemeDark Theme
汇编Asm6502Light ThemeDark Theme
汇编通用中间语言 (CIL)Light ThemeDark Theme
汇编GNU 汇编Light ThemeDark Theme
汇编Intel x86 (NASM)Light ThemeDark Theme
汇编Intel x86 (NASM)Light ThemeDark Theme
汇编MIPS 汇编Light ThemeDark Theme
汇编Motorola 68k(VASM/Devpac)Light ThemeDark Theme
汇编Motorola DSP56kLight ThemeDark Theme
汇编PicAsmLight ThemeDark Theme
配置.desktopLight ThemeDark Theme
配置Adblock PlusLight ThemeDark Theme
配置Apache 配置Light ThemeDark Theme
配置CabalLight ThemeDark Theme
配置CiscoLight ThemeDark Theme
配置DoxyfileLight ThemeDark Theme
配置Git IgnoreLight ThemeDark Theme
配置GitoliteLight ThemeDark Theme
配置INI 文件Light ThemeDark Theme
配置JsonnetLight ThemeDark Theme
配置Kate 配置Light ThemeDark Theme
配置KconfigLight ThemeDark Theme
配置NagiosLight ThemeDark Theme
配置QDoc 配置Light ThemeDark Theme
配置TOMLLight ThemeDark Theme
配置Varnish 配置语言Light ThemeDark Theme
配置Varnish 测试用例语言Light ThemeDark Theme
配置WINE 配置Light ThemeDark Theme
配置fstabLight ThemeDark Theme
配置kdesrc-buildrcLight ThemeDark Theme
配置Merge Tag 文本Light ThemeDark Theme
配置nginx 配置Light ThemeDark Theme
配置systemd 单元Light ThemeDark Theme
配置x.org 配置Light ThemeDark Theme
数据库4GL
Submit Example
数据库4GL-PER
Submit Example
数据库LDIFLight ThemeDark Theme
数据库SQLLight ThemeDark Theme
数据库SQL (MySQL)
Submit Example
数据库SQL (Oracle)Light ThemeDark Theme
数据库SQL (PostgreSQL)Light ThemeDark Theme
数据库Progress
Submit Example
硬件AHDLLight ThemeDark Theme
硬件SpiceLight ThemeDark Theme
硬件SystemCLight ThemeDark Theme
硬件SystemVerilog
Submit Example
硬件VHDLLight ThemeDark Theme
硬件Vera
Submit Example
硬件VerilogLight ThemeDark Theme
标记ASN.1Light ThemeDark Theme
标记ASPLight ThemeDark Theme
标记AppArmor 安全配置文件Light ThemeDark Theme
标记AsciiDocLight ThemeDark Theme
标记BibTeXLight ThemeDark Theme
标记CSSLight ThemeDark Theme
标记CartoCSS MMLLight ThemeDark Theme
标记CartoCSS MSSLight ThemeDark Theme
标记CleanCSS
Submit Example
标记ColdFusionLight ThemeDark Theme
标记ConTeXtLight ThemeDark Theme
标记Cucumber Gherkin 特性Light ThemeDark Theme
标记DTD
Submit Example
标记Django HTML 模板Light ThemeDark Theme
标记DoxygenLight ThemeDark Theme
标记DoxygenLua
Submit Example
标记FTL
Submit Example
标记FluentLight ThemeDark Theme
标记GNU GettextLight ThemeDark Theme
标记GlossTex
Submit Example
标记HTMLLight ThemeDark Theme
标记HamlLight ThemeDark Theme
标记Hamlet
Submit Example
标记JSONLight ThemeDark Theme
标记JSPLight ThemeDark Theme
标记Javadoc
Submit Example
标记JiraLight ThemeDark Theme
标记LESSLight ThemeDark Theme
标记LaTeXLight ThemeDark Theme
标记MAB-DB
Submit Example
标记Mako
Submit Example
标记MapCSSLight ThemeDark Theme
标记MarkdownLight ThemeDark Theme
标记MediaWiki
Submit Example
标记Metapost/Metafont
Submit Example
标记Mustache/Handlebars (HTML)Light ThemeDark Theme
标记Org ModeLight ThemeDark Theme
标记Pango
Submit Example
标记PostScript
Submit Example
标记PostScript Printer Description
Submit Example
标记Pug
Submit Example
标记R MarkdownLight ThemeDark Theme
标记R 文档Light ThemeDark Theme
标记RELAX NG
Submit Example
标记RelaxNG-Compact
Submit Example
标记富文本格式
Submit Example
标记Roff
Submit Example
标记Ruby/Rails/RHTMLLight ThemeDark Theme
标记SASSLight ThemeDark Theme
标记SCSSLight ThemeDark Theme
标记SGML
Submit Example
标记SiSU
Submit Example
标记TT2
Submit Example
标记Texinfo
Submit Example
标记Textile
Submit Example
标记Troff Mandoc
Submit Example
标记Twig/Twig
Submit Example
标记TypstLight ThemeDark Theme
标记VueLight ThemeDark Theme
标记Wesnoth 标记语言Light ThemeDark Theme
标记XMLLight ThemeDark Theme
标记XML (调试)
Submit Example
标记XUL
Submit Example
标记YAMLLight ThemeDark Theme
标记YANGLight ThemeDark Theme
标记reStructuredTextLight ThemeDark Theme
标记txt2tagsLight ThemeDark Theme
标记vCard, vCalendar, iCalendar
Submit Example
标记xsltLight ThemeDark Theme
其他ABC
Submit Example
其他AlertsLight ThemeDark Theme
其他CMakeLight ThemeDark Theme
其他CSS/PHPLight ThemeDark Theme
其他CSS/Twig
Submit Example
其他CSVLight ThemeDark Theme
其他CSV (竖线分隔符)Light ThemeDark Theme
其他CSV (分号分隔符)Light ThemeDark Theme
其他CSV (空格分隔符)Light ThemeDark Theme
其他CUE Sheet
Submit Example
其他ChangeLog
Submit Example
其他Comments
Submit Example
其他Debian ChangelogLight ThemeDark Theme
其他Debian ControlLight ThemeDark Theme
其他DiffLight ThemeDark Theme
其他DockerfileLight ThemeDark Theme
其他EarthfileLight ThemeDark Theme
其他电子邮件Light ThemeDark Theme
其他GDBLight ThemeDark Theme
其他GDB 回溯Light ThemeDark Theme
其他GDB InitLight ThemeDark Theme
其他Git RebaseLight ThemeDark Theme
其他GraphQLLight ThemeDark Theme
其他Hunspell 词缀文件
Submit Example
其他Hunspell 字典文件
Submit Example
其他Hunspell 近义词文件
Submit Example
其他Hunspell Thesaurus Index File
Submit Example
其他InnoSetupLight ThemeDark Theme
其他Intel 十六进制Light ThemeDark Theme
其他JamLight ThemeDark Theme
其他Java PropertiesLight ThemeDark Theme
其他JavaScript React (JSX)/PHP
Submit Example
其他JavaScript React (JSX)/Twig
Submit Example
其他JavaScript/PHP
Submit Example
其他JavaScript/Twig
Submit Example
其他LilyPondLight ThemeDark Theme
其他日志文件 (高级)Light ThemeDark Theme
其他日志文件 (简化)Light ThemeDark Theme
其他LogcatLight ThemeDark Theme
其他M3ULight ThemeDark Theme
其他MIBLight ThemeDark Theme
其他MakefileLight ThemeDark Theme
其他MesonLight ThemeDark Theme
其他ModelinesLight ThemeDark Theme
其他Music PublisherLight ThemeDark Theme
其他Mustache/Handlebars (HTML)/PHP
Submit Example
其他NinjaLight ThemeDark Theme
其他Overpass QLLight ThemeDark Theme
其他PGN
Submit Example
其他QMakeLight ThemeDark Theme
其他RPM SpecLight ThemeDark Theme
其他SELinux 文件环境Light ThemeDark Theme
其他SPDX-Comments
Submit Example
其他Snort/SuricataLight ThemeDark Theme
其他SubRip 字幕Light ThemeDark Theme
其他TSVLight ThemeDark Theme
其他TextProtoLight ThemeDark Theme
其他TigerLight ThemeDark Theme
其他Todo.txtLight ThemeDark Theme
其他TypeScript/PHP
Submit Example
其他TypeScript/Twig
Submit Example
其他Valgrind Suppression
Submit Example
其他Wayland 追踪回溯Light ThemeDark Theme
其他YARALight ThemeDark Theme
科学Ansys
Submit Example
科学B-Method
Submit Example
科学FASTQ
Submit Example
科学GAP
Submit Example
科学GDL
Submit Example
科学GnuplotLight ThemeDark Theme
科学Magma
Submit Example
科学MathematicaLight ThemeDark Theme
科学MatlabLight ThemeDark Theme
科学MaximaLight ThemeDark Theme
科学MetamathLight ThemeDark Theme
科学OctaveLight ThemeDark Theme
科学R ScriptLight ThemeDark Theme
科学Replicode
Submit Example
科学StanLight ThemeDark Theme
科学StataLight ThemeDark Theme
科学TI Basic
Submit Example
科学dot
Submit Example
科学ScilabLight ThemeDark Theme
科学yacas
Submit Example
脚本4DOS BatchToMemory
Submit Example
脚本AMPLE
Submit Example
脚本AWKLight ThemeDark Theme
脚本AutoHotKeyLight ThemeDark Theme
脚本BashLight ThemeDark Theme
脚本BrightScriptLight ThemeDark Theme
脚本CLISTLight ThemeDark Theme
脚本CoffeeScriptLight ThemeDark Theme
脚本CubeScriptLight ThemeDark Theme
脚本ElvishLight ThemeDark Theme
脚本ErlangLight ThemeDark Theme
脚本EuphoriaLight ThemeDark Theme
脚本FishLight ThemeDark Theme
脚本GNU Linker Script
Submit Example
脚本GodotLight ThemeDark Theme
脚本JLight ThemeDark Theme
脚本JCLLight ThemeDark Theme
脚本JavaScriptLight ThemeDark Theme
脚本JavaScript React (JSX)Light ThemeDark Theme
脚本LSL
Submit Example
脚本LuaLight ThemeDark Theme
脚本MEL
Submit Example
脚本MS-DOS 批处理Light ThemeDark Theme
脚本Mason
Submit Example
脚本NSISLight ThemeDark Theme
脚本NixLight ThemeDark Theme
脚本PHP (HTML)Light ThemeDark Theme
脚本PHP
Submit Example
脚本PerlLight ThemeDark Theme
脚本Pig
Submit Example
脚本PikeLight ThemeDark Theme
脚本PowerShellLight ThemeDark Theme
脚本Praat
Submit Example
脚本Puppet
Submit Example
脚本PythonLight ThemeDark Theme
脚本QFaceLight ThemeDark Theme
脚本QMLLight ThemeDark Theme
脚本Quake 脚本
Submit Example
脚本REXXLight ThemeDark Theme
脚本RacketLight ThemeDark Theme
脚本RakuLight ThemeDark Theme
脚本RobotLight ThemeDark Theme
脚本RubyLight ThemeDark Theme
脚本SchemeLight ThemeDark Theme
脚本SieveLight ThemeDark Theme
脚本TaskJuggler
Submit Example
脚本Tcl/TkLight ThemeDark Theme
脚本TcshLight ThemeDark Theme
脚本Twig (HTML)Light ThemeDark Theme
脚本TypeScriptLight ThemeDark Theme
脚本TypeScript React (TSX)Light ThemeDark Theme
脚本UnrealScriptLight ThemeDark Theme
脚本Velocity
Submit Example
脚本Xonotic 脚本
Submit Example
脚本ZshLight ThemeDark Theme
脚本Ferite
Submit Example
脚本k
Submit Example
脚本q
Submit Example
脚本sed
Submit Example
源代码ABAP
Submit Example
源代码ANS-Forth94
Submit Example
源代码ANSI C89
Submit Example
源代码ANTLRLight ThemeDark Theme
源代码ATS
Submit Example
源代码ActionScript 2.0Light ThemeDark Theme
源代码AdaLight ThemeDark Theme
源代码AgdaLight ThemeDark Theme
源代码BitbakeLight ThemeDark Theme
源代码BooLight ThemeDark Theme
源代码CLight ThemeDark Theme
源代码C#Light ThemeDark Theme
源代码C++Light ThemeDark Theme
源代码CGiSLight ThemeDark Theme
源代码COBOLLight ThemeDark Theme
源代码CashScriptLight ThemeDark Theme
源代码Cg
Submit Example
源代码ClipperLight ThemeDark Theme
源代码ClojureLight ThemeDark Theme
源代码Common LispLight ThemeDark Theme
源代码Component-Pascal
Submit Example
源代码Crack
Submit Example
源代码CrystalLight ThemeDark Theme
源代码Curry
Submit Example
源代码DLight ThemeDark Theme
源代码DartLight ThemeDark Theme
源代码E 语言
Submit Example
源代码Eiffel
Submit Example
源代码ElixirLight ThemeDark Theme
源代码ElmLight ThemeDark Theme
源代码FSharp
Submit Example
源代码FlatBuffersLight ThemeDark Theme
源代码Fortran (固定格式)Light ThemeDark Theme
源代码Fortran (自由格式)Light ThemeDark Theme
源代码FreeBASIC
Submit Example
源代码GCCExtensions
Submit Example
源代码GNU M4Light ThemeDark Theme
源代码GPRBuildLight ThemeDark Theme
源代码GleamLight ThemeDark Theme
源代码GoLight ThemeDark Theme
源代码GroovyLight ThemeDark Theme
源代码HareLight ThemeDark Theme
源代码HaskellLight ThemeDark Theme
源代码Haxe
Submit Example
源代码IDL
Submit Example
源代码ILERPGLight ThemeDark Theme
源代码ISO C++Light ThemeDark Theme
源代码Idris
Submit Example
源代码Inform
Submit Example
源代码JavaLight ThemeDark Theme
源代码Java ModuleLight ThemeDark Theme
源代码JuliaLight ThemeDark Theme
源代码KBasic
Submit Example
源代码KDev-PG[-Qt] 语法
Submit Example
源代码KotlinLight ThemeDark Theme
源代码LLVM
Submit Example
源代码LPCLight ThemeDark Theme
源代码Lex/FlexLight ThemeDark Theme
源代码Literate Curry
Submit Example
源代码Literate HaskellLight ThemeDark Theme
源代码LogtalkLight ThemeDark Theme
源代码Modelica
Submit Example
源代码Modula-2Light ThemeDark Theme
源代码Modula-2 (仅限 ISO)Light ThemeDark Theme
源代码Modula-2 (仅限 PIM)Light ThemeDark Theme
源代码Modula-2 (仅限 R10)Light ThemeDark Theme
源代码Modula-3
Submit Example
源代码MonoBasic
Submit Example
源代码Nemerle
Submit Example
源代码NimLight ThemeDark Theme
源代码OORS
Submit Example
源代码OPAL
Submit Example
源代码Objective CamlLight ThemeDark Theme
源代码Objective Caml Ocamllex
Submit Example
源代码Objective Caml Ocamlyacc
Submit Example
源代码Objective-CLight ThemeDark Theme
源代码Objective-C++Light ThemeDark Theme
源代码OdinLight ThemeDark Theme
源代码OpenCL
Submit Example
源代码PL/I
Submit Example
源代码PascalLight ThemeDark Theme
源代码PonyLight ThemeDark Theme
源代码PrologLight ThemeDark Theme
源代码ProtobufLight ThemeDark Theme
源代码Pure
Submit Example
源代码PureBasicLight ThemeDark Theme
源代码PureScript
Submit Example
源代码RETROLight ThemeDark Theme
源代码RSI IDL
Submit Example
源代码RapidQ
Submit Example
源代码RenPyLight ThemeDark Theme
源代码RustLight ThemeDark Theme
源代码SELinux CIL 策略Light ThemeDark Theme
源代码SELinux 策略Light ThemeDark Theme
源代码SMLLight ThemeDark Theme
源代码Sather
Submit Example
源代码ScalaLight ThemeDark Theme
源代码SmaliLight ThemeDark Theme
源代码SolidityLight ThemeDark Theme
源代码SwiftLight ThemeDark Theme
源代码TADS 3Light ThemeDark Theme
源代码TLA+Light ThemeDark Theme
源代码TerraformLight ThemeDark Theme
源代码VLight ThemeDark Theme
源代码ValaLight ThemeDark Theme
源代码Varnish 模块规范文件Light ThemeDark Theme
源代码ViperLight ThemeDark Theme
源代码Yacc/BisonLight ThemeDark Theme
源代码ZigLight ThemeDark Theme
源代码Zonnon
Submit Example
源代码nesC
Submit Example
源代码noweb
Submit Example
源代码opsi-scriptLight ThemeDark Theme
源代码xHarbour
Submit Example