Tistory

Blog 사전 작업

usefuLake 2020. 8. 1. 19:45

1. Code를 편하게 나타내기 위한 작업

- Highlight.js를 활용하여 Codeblock 생성

- Line Number 설정 적용

- Font 변경을 위해 pre, code 부분의 Font 수정

import sys
import os

print("Hello World")

https://highlightjs.org/download/

 

Getting highlight.js

Hosted A prebuilt version of highlight.js with 38 commonly used languages is hosted by following CDNs: cdnjs jsdelivr You can find the list of commonly used languages below in the custom download form. For other available styles look into the highlight.js

highlightjs.org

https://cdnjs.com/libraries/highlight.js

 

highlight.js - cdnjs.com - The best FOSS CDN for web related libraries to speed up your websites!

highlight.js - Syntax highlighting with language autodetection. - cdnjs.com - The best FOSS CDN for web related libraries to speed up your websites!

cdnjs.com

2. Font를 본문에 설정시키기 위한 작업

- LexiSaebomR Font 다운로드

- eof, woff 파일 업로드

- 파일 링크 가져와서 CSS에 적용