Skip to content

코드 하이라이팅 색상 변경 #221

Answered by pronist
ImSejin asked this question in Q&A
Discussion options

You must be logged in to vote

@ImSejin 안녕하세요. 제가 이 시기에 개발활동을 안 했어서 답변은 이제 드리는 점 양해 부탁드립니다.

  1. 에디터의 화면과 스킨에 출력되는 코드 테마가 다른 것은 에디터의 경우 티스토리에서 지정한 부분이므로 스킨 개발자가 어찌할 수 없고, 건드릴 수 있는 부분은 스킨에 출력되는 부분이라 서로 다릅니다.
  2. 코드 하이라이팅의 경우 index.xml 뿐만 아니라 관리자 - 스킨 편집에서 옵션을 조절할 수 있는 부분에서 테마를 설정할 수 있습니다. 단, 현재 스킨에 설정된 버전이 코드 하이라이팅이 11.7.0 이므로 https://github.com/highlightjs/highlight.js/tree/11.7.0/src/styles 에서 제공되는 테마에 한해 설정할 수 있을 것입니다.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by pronist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants