highlight.js-custom

highlight.js

참고자료

사용방법

prefers-color-scheme으로 적용

link 방식

<link rel="stylesheet" type="text/css" href="https://hansanghyeon.github.io/highlight.js-custom/main.css">

import 방식

@import url('https://hansanghyeon.github.io/highlight.js-custom/main.css');

.dark 클래스로 적용

link 방식

<link rel="stylesheet" type="text/css" href="https://hansanghyeon.github.io/highlight.js-custom/class.css">

import 방식

@import url('https://hansanghyeon.github.io/highlight.js-custom/class.css');