문법 강조

언어에 맞게 구문을 강조하며 들여쓰기를 바꾸거나 실행하지 않습니다.

입력: 텍스트결과: 샌드박스에서 미리 보는 HTML

텍스트 입력

도구 옵션

예제

Highlight a JSON problem response

입력

{"type":"about:blank","title":"Not Found","status":404}

Expected answer

<span class="hljs-punctuation">{</span><span class="hljs-attr">&quot;type&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;about:blank&quot;</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;title&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-string">&quot;Not Found&quot;</span><span class="hljs-punctuation">,</span><span class="hljs-attr">&quot;status&quot;</span><span class="hljs-punctuation">:</span><span class="hljs-number">404</span><span class="hljs-punctuation">}</span>
언어
json
Highlight a parameterized SQL lookup

입력

SELECT name FROM planets WHERE moons > 1;

Expected answer

<span class="hljs-keyword">SELECT</span> name <span class="hljs-keyword">FROM</span> planets <span class="hljs-keyword">WHERE</span> moons <span class="hljs-operator">&gt;</span> <span class="hljs-number">1</span>;
언어
sql
Highlight a Python list comprehension

입력

squares = [n * n for n in range(5)]

Expected answer

squares = [n * n <span class="hljs-keyword">for</span> n <span class="hljs-keyword">in</span> <span class="hljs-built_in">range</span>(<span class="hljs-number">5</span>)]
언어
python
Highlight a shell command without running it

입력

curl --head https://example.org

Expected answer

curl --<span class="hljs-built_in">head</span> https://example.org
언어
bash
Highlight an HTTP response header block

입력

a398dfe7caef49e1ebb4c273.bin

76 bytes

다운로드

Expected answer

<span class="hljs-meta">HTTP/1.1</span> <span class="hljs-number">200</span> OK
<span class="hljs-attribute">Content-Type</span><span class="hljs-punctuation">: </span>application/json
<span class="hljs-attribute">Cache-Control</span><span class="hljs-punctuation">: </span>no-store

언어
http

매개변수

매개변수기본값입력 및 선택 항목
언어자동 감지텍스트
194 선택 가능한 항목
  • 자동 감지
  • 1c
  • abnf
  • accesslog
  • actionscript
  • ada
  • angelscript
  • apache
  • applescript
  • arcade
  • arduino
  • armasm
  • XML
  • asciidoc
  • aspectj
  • autohotkey
  • autoit
  • avrasm
  • awk
  • axapta
  • bash
  • basic
  • bnf
  • brainfuck
  • c
  • cal
  • capnproto
  • ceylon
  • clean
  • clojure
  • clojure-repl
  • cmake
  • coffeescript
  • coq
  • cos
  • cpp
  • crmsh
  • crystal
  • csharp
  • csp
  • css
  • d
  • 마크다운
  • dart
  • delphi
  • diff
  • django
  • dns
  • dockerfile
  • dos
  • dsconfig
  • dts
  • dust
  • ebnf
  • elixir
  • elm
  • ruby
  • erb
  • erlang-repl
  • erlang
  • excel
  • fix
  • flix
  • fortran
  • freedesktop
  • fsharp
  • gams
  • gauss
  • gcode
  • gherkin
  • glsl
  • gml
  • go
  • golo
  • 그레이들
  • 그래프QL
  • 그루비
  • 햄
  • 핸들바
  • 하스켈
  • 학스
  • HSP
  • HTTP
  • 하이
  • 인포름7
  • INI
  • IRPF90
  • ISBL
  • 자바
  • 자바스크립트
  • JBoss-CLI
  • JSON
  • 줄리아
  • 줄리아-REPL
  • 코틀린
  • 라소
  • LaTeX
  • LDIF
  • 리프
  • LESS
  • 리스프
  • LiveCodeServer
  • 라이브스크립트
  • LLVM
  • LSL
  • 루아
  • 메이크파일
  • Mathematica
  • MATLAB
  • Maxima
  • MEL
  • 머큐리
  • MIPSASM
  • 미자르
  • perl
  • Mojolicious
  • 몽키
  • MoonScript
  • N1QL
  • NestedText
  • nginx
  • nim
  • nix
  • node-repl
  • nsis
  • objectivec
  • ocaml
  • openscad
  • oxygene
  • parser3
  • pf
  • pgsql
  • php
  • php-template
  • plaintext
  • pony
  • powershell
  • processing
  • profile
  • prolog
  • properties
  • protobuf
  • puppet
  • purebasic
  • python
  • python-repl
  • q
  • qml
  • r
  • reasonml
  • rib
  • roboconf
  • routeros
  • rsl
  • ruleslanguage
  • rust
  • sas
  • scala
  • scheme
  • scilab
  • scss
  • shell
  • 스말리
  • 스몰토크
  • sml
  • sqf
  • sql
  • stan
  • stata
  • step21
  • 스타일러스
  • 서브유닛
  • 스위프트
  • 태거스크립트
  • YAML
  • 탭
  • tcl
  • 스리프트
  • tp
  • 트윅
  • 타입스크립트
  • 발라
  • VB.NET
  • VB스크립트
  • VB스크립트-HTML
  • 베릴로그
  • VHDL
  • 비움
  • WASM
  • 렌
  • x86어셈블리
  • xl
  • XQuery
  • 제피르

관련 도구

코드 정리

작업 참고 자료

원본 기술 문서 보기 (English)