代码语法高亮插件Prism.js支持的语言对应关系

此列表详细列举了 Prism.js 框架所支持的全部 260 种编程语言及其别名,包括 HTML、CSS、JavaScript 等常见语言以及如 GraphQL、Swift、Kotlin 等现代语言,覆盖了从标记语言到脚本语言、配置文件等多种类型。
摘要由CSDN通过智能技术生成

This is the list of all 260 languages currently supported by Prism, with their corresponding alias, to use in place of xxxx in the language-xxxx (or lang-xxxx) class:

  • Markup - markuphtmlxmlsvgmathmlssmlatomrss
  • CSS - css
  • C-like - clike
  • JavaScript - javascriptjs
  • ABAP - abap
  • ABNF - abnf
  • ActionScript - actionscript
  • Ada - ada
  • Agda - agda
  • AL - al
  • ANTLR4 - antlr4g4
  • Apache Configuration - apacheconf
  • Apex - apex
  • APL - apl
  • AppleScript - applescript
  • AQL - aql
  • Arduino - arduino
  • ARFF - arff
  • AsciiDoc - asciidocadoc
  • ASP.NET (C#) - aspnet
  • 6502 Assembly - asm6502
  • AutoHotkey - autohotkey
  • AutoIt - autoit
  • Bash - bashshell
  • BASIC - basic
  • Batch - batch
  • BBcode - bbcodeshortcode
  • Bicep - bicep
  • Birb - birb
  • Bison - bison
  • BNF - bnfrbnf
  • Brainfuck - brainfuck
  • BrightScript - brightscript
  • Bro - bro
  • BSL (1C:Enterprise) - bsloscript
  • C - c
  • C# - csharpcsdotnet
  • C++ - cpp
  • CFScript - cfscriptcfc
  • ChaiScript - chaiscript
  • CIL - cil
  • Clojure - clojure
  • CMake - cmake
  • COBOL - cobol
  • CoffeeScript - coffeescriptcoffee
  • Concurnas - concurnasconc
  • Content-Security-Policy - csp
  • Coq - coq
  • Crystal - crystal
  • CSS Extras - css-extras
  • CSV - csv
  • Cypher - cypher
  • D - d
  • Dart - dart
  • DataWeave - dataweave
  • DAX - dax
  • Dhall - dhall
  • Diff - diff
  • Django/Jinja2 - djangojinja2
  • DNS zone file - dns-zone-filedns-zone
  • Docker - dockerdockerfile
  • DOT (Graphviz) - dotgv
  • EBNF - ebnf
  • EditorConfig - editorconfig
  • Eiffel - eiffel
  • EJS - ejseta
  • Elixir - elixir
  • Elm - elm
  • Embedded Lua templating - etlua
  • ERB - erb
  • Erlang - erlang
  • Excel Formula - excel-formulaxlsxxls
  • F# - fsharp
  • Factor - factor
  • False - false
  • Firestore security rules - firestore-security-rules
  • Flow - flow
  • Fortran - fortran
  • FreeMarker Template Language - ftl
  • GameMaker Language - gmlgamemakerlanguage
  • G-code - gcode
  • GDScript - gdscript
  • GEDCOM - gedcom
  • Gherkin - gherkin
  • Git - git
  • GLSL - glsl
  • Go - go
  • GraphQL - graphql
  • Groovy - groovy
  • Haml - haml
  • Handlebars - handlebarshbs
  • Haskell - haskellhs
  • Haxe - haxe
  • HCL - hcl
  • HLSL - hlsl
  • Hoon - hoon
  • HTTP - http
  • HTTP Public-Key-Pins - hpkp
  • HTTP Strict-Transport-Security - hsts
  • IchigoJam - ichigojam
  • Icon - icon
  • ICU Message Format - icu-message-format
  • Idris - idrisidr
  • .ignore - ignoregitignorehgignorenpmignore
  • Inform 7 - inform7
  • Ini - ini
  • Io - io
  • J - j
  • Java - java
  • JavaDoc - javadoc
  • JavaDoc-like - javadoclike
  • Java stack trace - javastacktrace
  • Jexl - jexl
  • Jolie - jolie
  • JQ - jq
  • JSDoc - jsdoc
  • JS Extras - js-extras
  • JSON - jsonwebmanifest
  • JSON5 - json5
  • JSONP - jsonp
  • JS stack trace - jsstacktrace
  • JS Templates - js-templates
  • Julia - julia
  • Keyman - keyman
  • Kotlin - kotlinktkts
  • KuMir (КуМир) - kumirkum
  • LaTeX - latextexcontext
  • Latte - latte
  • Less - less
  • LilyPond - lilypondly
  • Liquid - liquid
  • Lisp - lispemacselispemacs-lisp
  • LiveScript - livescript
  • LLVM IR - llvm
  • Log file - log
  • LOLCODE - lolcode
  • Lua - lua
  • Makefile - makefile
  • Markdown - markdownmd
  • Markup templating - markup-templating
  • MATLAB - matlab
  • MEL - mel
  • Mizar - mizar
  • MongoDB - mongodb
  • Monkey - monkey
  • MoonScript - moonscriptmoon
  • N1QL - n1ql
  • N4JS - n4jsn4jsd
  • Nand To Tetris HDL - nand2tetris-hdl
  • Naninovel Script - naniscriptnani
  • NASM - nasm
  • NEON - neon
  • Nevod - nevod
  • nginx - nginx
  • Nim - nim
  • Nix - nix
  • NSIS - nsis
  • Objective-C - objectivecobjc
  • OCaml - ocaml
  • OpenCL - opencl
  • OpenQasm - openqasmqasm
  • Oz - oz
  • PARI/GP - parigp
  • Parser - parser
  • Pascal - pascalobjectpascal
  • Pascaligo - pascaligo
  • PATROL Scripting Language - psl
  • PC-Axis - pcaxispx
  • PeopleCode - peoplecodepcode
  • Perl - perl
  • PHP - php
  • PHPDoc - phpdoc
  • PHP Extras - php-extras
  • PL/SQL - plsql
  • PowerQuery - powerquerypqmscript
  • PowerShell - powershell
  • Processing - processing
  • Prolog - prolog
  • PromQL - promql
  • .properties - properties
  • Protocol Buffers - protobuf
  • Pug - pug
  • Puppet - puppet
  • Pure - pure
  • PureBasic - purebasicpbfasm
  • PureScript - purescriptpurs
  • Python - pythonpy
  • Q# - qsharpqs
  • Q (kdb+ database) - q
  • QML - qml
  • Qore - qore
  • R - r
  • Racket - racketrkt
  • React JSX - jsx
  • React TSX - tsx
  • Reason - reason
  • Regex - regex
  • Rego - rego
  • Ren'py - renpyrpy
  • reST (reStructuredText) - rest
  • Rip - rip
  • Roboconf - roboconf
  • Robot Framework - robotframeworkrobot
  • Ruby - rubyrb
  • Rust - rust
  • SAS - sas
  • Sass (Sass) - sass
  • Sass (Scss) - scss
  • Scala - scala
  • Scheme - scheme
  • Shell session - shell-sessionsh-sessionshellsession
  • Smali - smali
  • Smalltalk - smalltalk
  • Smarty - smarty
  • SML - smlsmlnj
  • Solidity (Ethereum) - soliditysol
  • Solution file - solution-filesln
  • Soy (Closure Template) - soy
  • SPARQL - sparqlrq
  • Splunk SPL - splunk-spl
  • SQF: Status Quo Function (Arma 3) - sqf
  • SQL - sql
  • Squirrel - squirrel
  • Stan - stan
  • Structured Text (IEC 61131-3) - iecst
  • Stylus - stylus
  • Swift - swift
  • T4 templating - t4-templating
  • T4 Text Templates (C#) - t4-cst4
  • T4 Text Templates (VB) - t4-vb
  • TAP - tap
  • Tcl - tcl
  • Template Toolkit 2 - tt2
  • Textile - textile
  • TOML - toml
  • Turtle - turtletrig
  • Twig - twig
  • TypeScript - typescriptts
  • TypoScript - typoscripttsconfig
  • UnrealScript - unrealscriptuscriptuc
  • URI - uriurl
  • V - v
  • Vala - vala
  • VB.Net - vbnet
  • Velocity - velocity
  • Verilog - verilog
  • VHDL - vhdl
  • vim - vim
  • Visual Basic - visual-basicvbvba
  • WarpScript - warpscript
  • WebAssembly - wasm
  • Wiki markup - wiki
  • Wolfram language - wolframmathematicanbwl
  • Xeora - xeoraxeoracube
  • XML doc (.net) - xml-doc
  • Xojo (REALbasic) - xojo
  • XQuery - xquery
  • YAML - yamlyml
  • YANG - yang
  • Zig - zig
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

风小筝123

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值