File tree 4 files changed +82
-3
lines changed
4 files changed +82
-3
lines changed Original file line number Diff line number Diff line change 32
32
33
33
< link href ='/static/dom_distiller_viewer.css ' rel ='stylesheet ' media ='nope ' onload ='this.media="all" '>
34
34
< link href ='https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.15.6/build/styles/default.min.css ' rel ='stylesheet ' media ='nope ' onload ='this.media="all" '>
35
- < link href ='/static/vendor/atom-one-light .css ' rel ='stylesheet ' media ='nope ' onload ='this.media="all" '>
35
+ < link href ='/static/vendor/github-gist .css ' rel ='stylesheet ' media ='nope ' onload ='this.media="all" '>
36
36
37
37
< script src ='https://cdn.jsdelivr.net/gh/markdown-it/markdown-it@8.4.2/dist/markdown-it.min.js '> </ script >
38
38
< script src ='/static/vendor/markdown-it-anchor@5.0.2.min.js '> </ script >
39
+ < script src ='https://unpkg.com/markdown-it-task-lists@2.1.1/dist/markdown-it-task-lists.min.js '> </ script >
39
40
< script src ='https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@9.15.6/build/highlight.min.js ' async defer > </ script >
40
41
</ head >
41
42
< body class ='light sans-serif '>
Original file line number Diff line number Diff line change 360
360
}
361
361
} ) ;
362
362
363
+ md . use ( window . markdownitTaskLists , { enabled : true } ) ;
364
+
363
365
// render markdown
364
366
this . files . markdown . forEach ( file => {
365
367
html += md . render ( file . content ) ;
Original file line number Diff line number Diff line change @@ -500,6 +500,11 @@ article {
500
500
}
501
501
502
502
.hljs {
503
- white-space : pre;
504
- word-wrap : normal;
503
+ white-space : pre;
504
+ word-wrap : normal;
505
+ }
506
+
507
+ ul .contains-task-list {
508
+ list-style-type : none;
509
+ margin-left : 0 ;
505
510
}
Original file line number Diff line number Diff line change
1
+ /**
2
+ * GitHub Gist Theme
3
+ * Author : Louis Barranqueiro - https://github.com/LouisBarranqueiro
4
+ */
5
+
6
+ .hljs {
7
+ display : block;
8
+ background : white;
9
+ padding : 0.5em ;
10
+ color : # 333333 ;
11
+ overflow-x : auto;
12
+ }
13
+
14
+ .hljs-comment ,
15
+ .hljs-meta {
16
+ color : # 969896 ;
17
+ }
18
+
19
+ .hljs-string ,
20
+ .hljs-variable ,
21
+ .hljs-template-variable ,
22
+ .hljs-strong ,
23
+ .hljs-emphasis ,
24
+ .hljs-quote {
25
+ color : # df5000 ;
26
+ }
27
+
28
+ .hljs-keyword ,
29
+ .hljs-selector-tag ,
30
+ .hljs-type {
31
+ color : # a71d5d ;
32
+ }
33
+
34
+ .hljs-literal ,
35
+ .hljs-symbol ,
36
+ .hljs-bullet ,
37
+ .hljs-attribute {
38
+ color : # 0086b3 ;
39
+ }
40
+
41
+ .hljs-section ,
42
+ .hljs-name {
43
+ color : # 63a35c ;
44
+ }
45
+
46
+ .hljs-tag {
47
+ color : # 333333 ;
48
+ }
49
+
50
+ .hljs-title ,
51
+ .hljs-attr ,
52
+ .hljs-selector-id ,
53
+ .hljs-selector-class ,
54
+ .hljs-selector-attr ,
55
+ .hljs-selector-pseudo {
56
+ color : # 795da3 ;
57
+ }
58
+
59
+ .hljs-addition {
60
+ color : # 55a532 ;
61
+ background-color : # eaffea ;
62
+ }
63
+
64
+ .hljs-deletion {
65
+ color : # bd2c00 ;
66
+ background-color : # ffecec ;
67
+ }
68
+
69
+ .hljs-link {
70
+ text-decoration : underline;
71
+ }
You can’t perform that action at this time.
0 commit comments