File tree Expand file tree Collapse file tree 4 files changed +82
-3
lines changed Expand file tree Collapse file tree 4 files changed +82
-3
lines changed Original file line number Diff line number Diff line change 3232
3333 < link href ='/static/dom_distiller_viewer.css ' rel ='stylesheet ' media ='nope ' onload ='this.media="all" '>
3434 < link href ='
https://cdn.jsdelivr.net/gh/highlightjs/[email protected] /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" '>
3636
3737 < script src ='
https://cdn.jsdelivr.net/gh/markdown-it/[email protected] /dist/markdown-it.min.js '
> </ script > 3838 < script src ='
/static/vendor/[email protected] '
> </ script > 39+ < script src ='
https://unpkg.com/[email protected] /dist/markdown-it-task-lists.min.js '
> </ script > 3940 < script src ='
https://cdn.jsdelivr.net/gh/highlightjs/[email protected] /build/highlight.min.js '
async defer > </ script > 4041</ head >
4142< body class ='light sans-serif '>
Original file line number Diff line number Diff line change 360360 }
361361 } ) ;
362362
363+ md . use ( window . markdownitTaskLists , { enabled : true } ) ;
364+
363365 // render markdown
364366 this . files . markdown . forEach ( file => {
365367 html += md . render ( file . content ) ;
Original file line number Diff line number Diff line change @@ -500,6 +500,11 @@ article {
500500}
501501
502502.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 ;
505510}
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