code block
Welcome to the real-time
Usage: <pre><code>code block</code></pre>
<h3>Welcome to the real-time HTML editor!</h3>
<p>Type HTML in the textarea above, and it will magically appear in the frame below.</p>
Usage: <code>code block</code>
<h3>Welcome to the real-time HTML editor!</h3> <p>Type HTML in the textarea above, and it will magically appear in the frame below.</p>
<h3>Welcome to the real-time HTML editor!</h3>
<p>Type HTML in the textarea above, and it will magically appear in the frame below.</p>
Usage: <pre lang="js">code block</pre>
if (window.addEventListener) {
window.addEventListener("load", downloadJSAtOnload, false);
} else if (window.attachEvent) {
window.attachEvent("onload", downloadJSAtOnload);
} else {
window.onload = downloadJSAtOnload
};
Usage: <pre lang="disabled">code block</pre>
if (window.addEventListener) {
window.addEventListener("load", downloadJSAtOnload, false);
} else if (window.attachEvent) {
window.attachEvent("onload", downloadJSAtOnload);
} else {
window.onload = downloadJSAtOnload
};
This is the list of all 202 languages currently supported by Prism, with their corresponding alias, to use in place of xxxx
in the language-xxxx
(or lang-xxxx
) class:
markup
, html
, xml
, svg
, mathml
css
clike
javascript
, js
abap
abnf
actionscript
ada
antlr4
, g4
apacheconf
apl
applescript
aql
arduino
arff
asciidoc
, adoc
asm6502
aspnet
autohotkey
autoit
bash
, shell
basic
batch
bbcode
bison
bnf
, rbnf
brainfuck
brightscript
bro
c
csharp
, cs
, dotnet
cpp
cil
coffeescript
, coffee
cmake
clojure
crystal
csp
css-extras
d
dart
diff
django
, jinja2
dns-zone-file
, dns-zone
docker
, dockerfile
ebnf
eiffel
ejs
elixir
elm
etlua
erb
erlang
fsharp
firestore-security-rules
flow
fortran
ftl
gcode
gdscript
gedcom
gherkin
git
glsl
gml
, gamemakerlanguage
go
graphql
groovy
haml
handlebars
haskell
, hs
haxe
hcl
http
hpkp
hsts
ichigojam
icon
inform7
ini
io
j
java
javadoc
javadoclike
javastacktrace
jolie
jq
jsdoc
js-extras
js-templates
json
jsonp
json5
julia
keyman
kotlin
latex
, tex
, context
latte
less
lilypond
, ly
liquid
lisp
, emacs
, elisp
, emacs-lisp
livescript
lolcode
lua
makefile
markdown
, md
markup-templating
matlab
mel
mizar
monkey
moonscript
, moon
n1ql
n4js
, n4jsd
nand2tetris-hdl
nasm
neon
nginx
nim
nix
nsis
objectivec
ocaml
opencl
oz
parigp
parser
pascal
, objectpascal
pascaligo
pcaxis
, px
perl
php
phpdoc
php-extras
plsql
powershell
processing
prolog
properties
protobuf
pug
puppet
pure
python
, py
q
qml
qore
r
jsx
tsx
renpy
reason
regex
rest
rip
roboconf
robotframework
, robot
ruby
, rb
rust
sas
sass
scss
scala
scheme
shell-session
smalltalk
smarty
solidity
soy
sparql
, rq
splunk-spl
sqf
sql
stylus
swift
tap
tcl
textile
toml
tt2
turtle
, trig
twig
typescript
, ts
t4-cs
, t4
t4-vb
t4-templating
vala
vbnet
velocity
verilog
vhdl
vim
visual-basic
, vb
wasm
wiki
xeora
, xeoracube
xojo
xquery
yaml
, yml
zig
Couldn't find the language you were looking for? Request it!
(Not Single)
Only
Pre (Single Pretext)
Pre (Single Pretext) + lang="js"
Disabled Syntax Highlighter
More Themes
Supported Languages
<