Skip to content

Commit fb37695

Browse files
committed
code formatting tweaked to respec 21.0.1 defaults
1 parent e304f73 commit fb37695

2 files changed

Lines changed: 5 additions & 0 deletions

File tree

scripts/md2html/gist.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@
2525
color: #df5000;
2626
}
2727

28+
.hljs-number {
29+
color: #008080;
30+
}
31+
2832
.hljs-keyword,
2933
.hljs-selector-tag,
3034
.hljs-type {

scripts/md2html/md2html.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ function preface(title,options) {
114114
preface += 'table tr { background-color: #fff; border-top: 1px solid #c6cbd1; }';
115115
preface += 'table tr:nth-child(2n) { background-color: #f6f8fa; }';
116116
preface += 'pre { background-color: #f6f8fa !important; }';
117+
preface += 'code { color: #c83500 } th code { color: inherit }';
117118
preface += fs.readFileSync(path.resolve(__dirname,'gist.css'),'utf8').split('\n').join(' ');
118119
preface += '</style>';
119120
preface += `<h1 id="title">${title.split('|')[0]}</h1>`;

0 commit comments

Comments
 (0)