feat: syntax highlighting of code section (#6236)

Co-authored-by: AdrieanKhisbe <adriean.khisbe@live.fr>
This commit is contained in:
Tim Lai
2020-07-17 15:29:15 -07:00
committed by GitHub
parent 9e294fbab5
commit a73783b73d
20 changed files with 340 additions and 228 deletions

View File

@@ -642,10 +642,12 @@
overflow-wrap: break-word;
@include text_code($opblock-body-font-color);
span
{
color: $opblock-body-font-color !important;
}
// disabled to have syntax highliting with react-syntax-highlight
// span
// {
// color: $opblock-body-font-color !important;
// }
.headerline
{
@@ -662,6 +664,9 @@
min-height: 6em;
}
}
.curl-command {
position: relative;
}
.download-contents {
position: absolute;