Sublime Text Language Syntax forked from Markdown Extended, with extended list of syntaxes, and support for adding CommonMark / Attribute Strings to the Language Identifier. Languages have been updated to reflect languages in 2026, for use in Fenced Code Blocks. A second language wrapper MDSV is for use with MDsveX, for Svelte written with Markdown. ESLint configurations for linting and LSP can be found at Sublime DX.
Full List of Languages for use in Code Blocks:
c = source.c
cpp = source.c++
coffee|coffeescript = source.coffee
pug|jade = source.pug
css = source.css
csharp = source.cs
ejs|underscore|lodash = source.ejs
diff = source.diff
go|golang = source.go
graphql = source.graphql
hbs|html|html5|htm = text.html.basic
handlebars = text.html.handlebars
java = source.java
javascript|js = source.js
json|json5|jsonc = source.json
julia|jl = source.julia
less = source.less|source.css.less
ls|livescript|LiveScript = source.livescript
lua = source.lua
md|markdown = text.html.markdown
swift = source.swift
obj(?:ective\-|)c = source.objc
obj(?:ective\-|)c\+\+ = source.objc++
perl = source.perl
php = source.php
python = source.python
r = source.r
ruby = source.ruby
rust = source.rust
sass = source.sass
scss = source.scss
scala = source.scala
styl|stylus = source.stylus
sql|mysql|ddl|dml = source.sql
postgresql|postgres|pgsql = source.pgsql
swig|liquid = text.html.liquid
xml = text.xml
yaml = source.yaml
svelte = text.html.svelte
vue = text.html.vue
astro = text.html.astro
ts|typescript = source.ts
tsx = source.tsx
jsx = source.jsx|source.js.jsx
toml = source.toml
dockerfile|docker = source.dockerfile
env|dotenv = source.env
kotlin = source.kotlin
dart = source.dart
zig = source.zig
nix = source.nix
nu|nushell = source.nushell
gleam = source.gleam
elixir = source.elixir
erlang = source.erlang
haskell = source.haskell
ocaml = source.ocaml
rescript|res = source.rescript
reason = source.reason
elm = source.elm
clojure = source.clojure
fsharp = source.fsharp
nim = source.nim
crystal = source.crystal
v = source.v
odin = source.odin
typst|typ = source.typst
prisma = source.prisma
proto|protobuf = source.proto
cue = source.cue
terraform|tf = source.terraform
hcl = source.hcl
rego = source.rego