Notice
Recent Posts
Recent Comments
Tags
- 티스토리 목차
- NewYork Times 읽기
- TOC
- 티스토리 자동 목차
- tistory toc
- magic command
- matplotlib 객제 지향 방식
- tistory 목차
- jupyter notebook shell commands
- fig ax 사용
05-05 03:33
Archives
develop myself
tistory에 highlight.js, line number 적용시 문제 해결(반응형 #2 스킨) 본문
1 hightlight.js, line number 적용 시 문제 발생
일부 코드 컬러가 이상하게 되어버렸다.
기본 색으로 되어 있어야 하는데, 위 이미지처럼 가독성이 낮은 색으로 변경되었다.
2 문제 해결과정
highlight.js 적용 오류 문제해결 과정_기록: https://insightous.tistory.com/13
3 해결 방법: CSS 주석처리
테이블 관련한 CSS 코드를 주석처리한다.
body,th,td,input,select,textarea,button {font-size:14px;line-height:1.5;font-family:'Spoqa Han Sans', sans-serif;color:#666}
/* body,th,td,input,select,textarea,button {font-size:14px;line-height:1.5;font-family:'Spoqa Han Sans', sans-serif;color:#666} */
4 결과
highlight.js 적용이 잘 된다.
'Tips > blog' 카테고리의 다른 글
tistory에서 latex 사용하기 (0) | 2023.01.27 |
---|---|
tistory 메뉴 사이드바 수정(반응형 #2 스킨) (0) | 2023.01.11 |
tistory 코드 블록 line number 적용 (0) | 2023.01.10 |
tistory code highlight 추가 (0) | 2023.01.10 |
tistory 블로그 toc 적용(반응형 #2 스킨) (0) | 2023.01.10 |
Comments