highlight.js 支持的语言列表
本文最后更新于 401 天前,其中的信息可能已经有所发展或是发生改变。
语言别名
1C1c
4D4d
ABAPsap-abap, abap
ABNFabnf
Access logsaccesslog
Adaada
Apexapex
Arduino (C++ w/Arduino libs)arduino, ino
ARM assemblerarmasm, arm
AVR assembleravrasm
ActionScriptactionscript, as
Alan IFalan, i
Alanln
AngelScriptangelscript, asc
Apacheapache, apacheconf
AppleScriptapplescript, osascript
Arcadearcade
AsciiDocasciidoc, adoc
AspectJaspectj
AutoHotkeyautohotkey
AutoItautoit
Awkawk, mawk, nawk, gawk
Bashbash, sh, zsh
Basicbasic
BBCodebbcode
Blade (Laravel)blade
BNFbnf
BQNbqn
Brainfuckbrainfuck, bf
C#csharp, cs
Cc, h
C++cpp, hpp, cc, hh, c++, h++, cxx, hxx
C/ALcal
C3c3
Cache Object Scriptcos, cls
Candidcandid, did
CMakecmake, cmake.in
COBOLcobol, standard-cobol
Coqcoq
CSPcsp
CSScss
Cap’n Protocapnproto, capnp
Chaoschaos, kaos
Chapelchapel, chpl
Cisco CLIcisco
Clojureclojure, clj
CoffeeScriptcoffeescript, coffee, cson, iced
CpcdosC+cpc
Crmshcrmsh, crm, pcmk
Crystalcrystal, cr
cURLcurl
Cypher (Neo4j)cypher
Dd
Dafnydafny
Dartdart
Delphidpr, dfm, pas, pascal
Diffdiff, patch
Djangodjango, jinja
DNS Zone filedns, zone, bind
Dockerfiledockerfile, docker
DOSdos, bat, cmd
dsconfigdsconfig
DTS (Device Tree)dts
Dustdust, dst
Dylandylan
EBNFebnf
Elixirelixir
Elmelm
Erlangerlang, erl
Excelexcel, xls, xlsx
Extemporeextempore, xtlang, xtm
F#fsharp, fs
FIXfix
Flixflix
Fortranfortran, f90, f95
FunCfunc
G-Codegcode, nc
Gamsgams, gms
GAUSSgauss, gss
GDScriptgodot, gdscript
Gherkingherkin
Glimmer and EmberJShbs, glimmer, html.hbs, html.handlebars, htmlbars
GN for Ninjagn, gni
Gogo, golang
Grammatical Frameworkgf
Gologolo, gololang
Gradlegradle
GraphQLgraphql
Groovygroovy
GSQLgsql
HTML, XMLxml, html, xhtml, rss, atom, xjb, xsd, xsl, plist, svg
HTTPhttp, https
Hamlhaml
Handlebarshandlebars, hbs, html.hbs, html.handlebars
Haskellhaskell, hs
Haxehaxe, hx
High-level shader languagehlsl
Hyhy, hylang
Ini, TOMLini, toml
Inform7inform7, i7
IRPF90irpf90
JSONjson
Javajava, jsp
JavaScriptjavascript, js, jsx
Joliejolie, iol, ol
Juliajulia, julia-repl
Kotlinkotlin, kt
Lang
LaTeXtex
Leafleaf
Leanlean
Lassolasso, ls, lassoscript
Lessless
LDIFldif
Lisplisp
LiveCode Serverlivecodeserver
LiveScriptlivescript, ls
LookMLlookml
Lualua
Macaulay2macaulay2
Makefilemakefile, mk, mak, make
Markdownmarkdown, md, mkdown, mkd
Mathematicamathematica, mma, wl
Matlabmatlab
Maximamaxima
Maya Embedded Languagemel
Mercurymercury
MIPS Assemblermips, mipsasm
mIRC Scripting Languagemirc, mrc
Mizarmizar
MKBmkb
MLIRmlir
Mojoliciousmojolicious
Monkeymonkey
Moonscriptmoonscript, moon
Motokomotoko, mo
N1QLn1ql
NSISnsis
Nevernever
Nginxnginx, nginxconf
Nimnim, nimrod
Nixnix
Oakoak
Object Constraint Languageocl
OCamlocaml, ml
Objective Cobjectivec, mm, objc, obj-c, obj-c++, objective-c++
OpenGL Shading Languageglsl
OpenSCADopenscad, scad
Oracle Rules Languageruleslanguage
Oxygeneoxygene
PFpf, pf.conf
PHPphp
Papyruspapyrus, psc
Parser3parser3
Perlperl, pl, pm
Pine Scriptpine, pinescript
Plaintextplaintext, txt, text
Ponypony
PostgreSQL & PL/pgSQLpgsql, postgres, postgresql
PowerShellpowershell, ps, ps1
Processingprocessing
Prologprolog
Propertiesproperties
Protocol Buffersproto, protobuf
Puppetpuppet, pp
Pythonpython, py, gyp
Python profiler resultsprofile
Python REPLpython-repl, pycon
Q#qsharp
Qk, kdb
QMLqml
Rr
Razor CSHTMLcshtml, razor, razor-cshtml
ReasonMLreasonml, re
Rebol & Redredbol, rebol, red, red-system
RenderMan RIBrib
RenderMan RSLrsl
RiScriptrisc, riscript
Roboconfgraph, instances
Robot Frameworkrobot, rf
RPM spec filesrpm-specfile, rpm, spec, rpm-spec, specfile
Rubyruby, rb, gemspec, podspec, thor, irb
Rustrust, rs
RVT Scriptrvt, rvt-script
SASSAS, sas
SCSSscss
SQLsql
STEP Part 21p21, step, stp
Scalascala
Schemescheme
Scilabscilab, sci
Shape Expressionsshexc
Shellshell, console
Smalismali
Smalltalksmalltalk, st
SMLsml, ml
Soliditysolidity, sol
Splunk SPLspl
Stanstan, stanfuncs
Statastata
Structured Textiecst, scl, stl, structured-text
Stylusstylus, styl
SubUnitsubunit
Supercollidersupercollider, sc
Sveltesvelte
Swiftswift
Tcltcl, tk
Terraform (HCL)terraform, tf, hcl
Test Anything Protocoltap
Thriftthrift
Toittoit
TPtp
Transact-SQLtsql
Twigtwig, craftcms
TypeScripttypescript, ts, tsx, mts, cts
Unicorn Rails logunicorn-rails-log
VB.Netvbnet, vb
VBAvba
VBScriptvbscript, vbs
VHDLvhdl
Valavala
Verilogverilog, v
Vim Scriptvim
X#xsharp, xs, prg
X++axapta, x++
x86 Assemblyx86asm
XLxl, tao
XQueryxquery, xpath, xq
YAMLyml, yaml
ZenScriptzenscript, zs
Zephirzephir, zep
来自:https://github.com/highlightjs/highlight.js/blob/main/SUPPORTED_LANGUAGES.md
作者:AlexSJC
本文采用 CC BY-NC-ND 4.0 许可协议
暂无评论

发送评论 编辑评论


|´・ω・)ノ
ヾ(≧∇≦*)ゝ
(☆ω☆)
(╯‵□′)╯︵┴─┴
 ̄﹃ ̄
(/ω\)
∠( ᐛ 」∠)_
(๑•̀ㅁ•́ฅ)
→_→
୧(๑•̀⌄•́๑)૭
٩(ˊᗜˋ*)و
(ノ°ο°)ノ
(´இ皿இ`)
⌇●﹏●⌇
(ฅ´ω`ฅ)
(╯°A°)╯︵○○○
φ( ̄∇ ̄o)
ヾ(´・ ・`。)ノ"
( ง ᵒ̌皿ᵒ̌)ง⁼³₌₃
(ó﹏ò。)
Σ(っ °Д °;)っ
( ,,´・ω・)ノ"(´っω・`。)
╮(╯▽╰)╭
o(*////▽////*)q
>﹏<
( ๑´•ω•) "(ㆆᴗㆆ)
😂
😀
😅
😊
🙂
🙃
😌
😍
😘
😜
😝
😏
😒
🙄
😳
😡
😔
😫
😱
😭
💩
👻
🙌
🖕
👍
👫
👬
👭
🌚
🌝
🙈
💊
😶
🙏
🍦
🍉
😣
Source: github.com/k4yt3x/flowerhd
颜文字
Emoji
小恐龙
花!
上一篇
下一篇