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, mathmlcssclikejavascript, jsabapabnfactionscriptadaantlr4, g4apacheconfaplapplescriptaqlarduinoarffasciidoc, adocasm6502aspnetautohotkeyautoitbash, shellbasicbatchbbcodebisonbnf, rbnfbrainfuckbrightscriptbroccsharp, cs, dotnetcppcilcoffeescript, coffeecmakeclojurecrystalcspcss-extrasddartdiffdjango, jinja2dns-zone-file, dns-zonedocker, dockerfileebnfeiffelejselixirelmetluaerberlangfsharpfirestore-security-rulesflowfortranftlgcodegdscriptgedcomgherkingitglslgml, gamemakerlanguagegographqlgroovyhamlhandlebarshaskell, hshaxehclhttphpkphstsichigojamiconinform7iniiojjavajavadocjavadoclikejavastacktracejoliejqjsdocjs-extrasjs-templatesjsonjsonpjson5juliakeymankotlinlatex, tex, contextlattelesslilypond, lyliquidlisp, emacs, elisp, emacs-lisplivescriptlolcodeluamakefilemarkdown, mdmarkup-templatingmatlabmelmizarmonkeymoonscript, moonn1qln4js, n4jsdnand2tetris-hdlnasmneonnginxnimnixnsisobjectivecocamlopenclozparigpparserpascal, objectpascalpascaligopcaxis, pxperlphpphpdocphp-extrasplsqlpowershellprocessingprologpropertiesprotobufpugpuppetpurepython, pyqqmlqorerjsxtsxrenpyreasonregexrestriproboconfrobotframework, robotruby, rbrustsassassscssscalaschemeshell-sessionsmalltalksmartysoliditysoysparql, rqsplunk-splsqfsqlstylusswifttaptcltextiletomltt2turtle, trigtwigtypescript, tst4-cs, t4t4-vbt4-templatingvalavbnetvelocityverilogvhdlvimvisual-basic, vbwasmwikixeora, xeoracubexojoxqueryyaml, ymlzigCouldn'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
<