10000 Make it work with highlight.js · cbk914/github-markdown-css@1e936dd · GitHub
[go: up one dir, main page]

Skip to content

Commit 1e936dd

Browse files
committed
Make it work with highlight.js
1 parent 4d639a5 commit 1e936dd

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

github-markdown.css

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -603,7 +603,6 @@
603603
padding: 0.2em 0.4em;
604604
margin: 0;
605605
font-size: 85%;
606-
background-color: rgba(27,31,35,0.05);
607606
border-radius: 3px;
608607
}
609608

@@ -617,7 +616,6 @@
617616
font-size: 100%;
618617
word-break: normal;
619618
white-space: pre;
620-
background: transparent;
621619
border: 0;
622620
}
623621

@@ -636,7 +634,6 @@
636634
overflow: auto;
637635
font-size: 85%;
638636
line-height: 1.45;
639-
background-color: #f6f8fa;
640637
border-radius: 3px;
641638
}
642639

@@ -648,7 +645,6 @@
648645
overflow: visible;
649646
line-height: inherit;
650647
word-wrap: normal;
651-
background-color: transparent;
652648
border: 0;
653649
}
654650

@@ -693,3 +689,7 @@
693689
.markdown-body hr {
694690
border-bottom-color: #eee;
695691
}
692+
693+
.markdown-body :not(pre) > code {
694+
background-color: rgba(27, 31, 35, 0.05);
695+
}

0 commit comments

Comments
 (0)
0