본문 바로가기
➰ 티스토리와 친해지기

티스토리 '코드블럭' 글꼴 변경

by 온유지후 2022. 9. 16.

     블로그 관리 > 꾸미기 > 스킨편집 → html편집 → HTML

탭으로 들어간 후, <head></head>사이에 아래의 코드를 삽입한다.

<head>

<link href='https://fonts.googleapis.com/css?family=Sunflower' rel='stylesheet'>
<style>
  pre>code{
	  font-family:'Sunflower' !important;
		font-size:14px !important;
	}
</style>

</head>

현재 코드에서 적용된 글꼴은 'Sunflower'이다. 자신이 원하는 서체로 변경하려면 'Sunflower'라고 적혀 있는 부분만 변경하면 된다.

구글 무료 폰트에 대한 것은 다음 사이트를 방문하여 확인하면 된다.

     http://fonts.google.com/

 

Google Fonts

Making the web more beautiful, fast, and open through great typography

fonts.google.com

 

'➰ 티스토리와 친해지기' 카테고리의 다른 글

티스토리 '글쓰기' 글꼴 추가  (0) 2022.09.16
티스토리 '코드블록' 동글동글 모서리  (0) 2022.09.16
수식 조판 - LaTex  (0) 2022.09.15
수식 정렬 - LaTeX  (0) 2022.09.14
수식 삽입 - tiStory  (0) 2022.09.14

댓글