☁️ Loving our new documentation website? Provide feedback in the CloudCannon Community! ✨

syntax

Table of contents

Description:

This key defines how the editor parses your content for syntax highlighting.

Should be set to the language of the code going into the input.

Appears in:
└── _inputs
    └── *
        └── Code Input
            └── options
                └── syntax
Type:
string
Allowed values:
c_cpp
clojure
cobol
coffee
csharp
css
d
dart
diff
dockerfile
eiffel
elm
erlang
forth
fortran
fsharp
gherkin
golang
groovy
haskell
haskell_cabal
haxe
html
java
javascript
json
julia
kotlin
less
liquid
livescript
lua
markdown
mysql
nginx
nsis
objectivec
ocaml
pascal
pgsql
pig
powershell
properties
protobuf
puppet
python
r
ruby
rust
sass
scala
scheme
scss
sh
sql
stylus
swift
tcl
toml
turtle
typescript
vbscript
velocity
verilog
vhdl
xml
xquery
yaml
Examples:
Open in a new tab