라벨이 highlight인 게시물 표시

Google Prettify 활용 및 가이드

Prettify 적용 방법 :  /2022/12/blog-post.html 스킨 default / desert / sunburst / sons-of-obsidian / doxy 관련 링크 :  https://raw.githack.com/google/code-prettify/master/styles/index.html 사용 예제 <script src="https://google-code-prettify.googlecode.com/svn/loader/run_prettify.js?skin=desert"> 기본 지원 언어 및 확장 지원 언어 C, C++, C#, PHP, Ruby, Java, Python, Bash, SQL, HTML, XML, CSS, Javascript, Makefiles, Rust Apollo; Basic; Clojure; CSS; Dart; Erlang; Go; Haskell; Lasso; Lisp, Scheme; LLVM; Logtalk; Lua; MATLAB; MLs: F#, Ocaml,SML; Mumps; Nemerle; Pascal; Protocol buffers; R, S; RD; Rust; Scala; SQL; Swift; TCL; LaTeX; Visual Basic; VHDL; Wiki; XQ; YAML <pre class="prettyprint lang-html linenums"> The lang-* class specifies the language file extensions. File extensions supported by default include: "bsh", "c", "cc", "cpp", "cs", "csh", "cyc", "cv", "htm", "ht...

구글 블로거 코드 하이라이트 적용하는 방법

이미지
  code-prettify  살펴보기:  https://github.com/google/code-prettify 설정하기 테마>html 편집 Ctrl + F   를 눌러서   /head   를 타입하고 엔터  </head>  바로 위에 아래의 스크립트를 입력 < script src = 'https://cdn.jsdelivr.net/gh/google/code-prettify@master/loader/run_prettify.js' />