File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- <style >
2- html {
3- color-scheme : dark ;
4- }
5- </style >
61
72
83
Original file line number Diff line number Diff line change 1+ <!DOCTYPE html>
2+ < html lang ="ko ">
3+ < head >
4+ < meta charset ="UTF-8 ">
5+ < title > Docs</ title >
6+
7+ <!-- markdown → html 변환기 -->
8+ < script src ="https://cdn.jsdelivr.net/npm/marked/marked.min.js "> </ script >
9+
10+ <!-- 다크모드 스타일 -->
11+ < style >
12+ body {
13+ background : # 0f172a ;
14+ color : # e5e7eb ;
15+ font-family : system-ui, -apple-system, sans-serif;
16+ padding : 3rem ;
17+ line-height : 1.7 ;
18+ }
19+
20+ h1 , h2 , h3 {
21+ border-bottom : 1px solid # 334155 ;
22+ padding-bottom : .3em ;
23+ }
24+
25+ pre {
26+ background : # 020617 ;
27+ padding : 1rem ;
28+ border-radius : 8px ;
29+ overflow-x : auto;
30+ }
31+
32+ code {
33+ color : # 38bdf8 ;
34+ }
35+
36+ a {
37+ color : # 60a5fa ;
38+ }
39+ </ style >
40+
41+ <!-- <style>
42+ html{
43+ color-scheme: dark;
44+ }
45+ </style> -->
46+
47+
48+
49+ </ head >
50+ < body >
51+
52+ < article id ="content "> 불러오는 중…</ article >
53+
54+ < script >
55+ fetch ( 'README.md' )
56+ . then ( res => res . text ( ) )
57+ . then ( md => {
58+ document . getElementById ( 'content' ) . innerHTML =
59+ marked . parse ( md ) ;
60+ } ) ;
61+ </ script >
62+
63+ </ body >
64+ </ html >
You can’t perform that action at this time.
0 commit comments