[markdown] Remove client-side syntax highlighting (#189)

* Remove client side highlighting

* Update CSS rules to render plain code blocks with expected left border

* Add back codeColor background color config

* Ensure all pre code blocks use Highlight.js classes
This commit is contained in:
Héctor Ramos 2017-10-26 12:07:02 -07:00 committed by GitHub
parent f72df94dd3
commit fb294ab845
4 changed files with 25 additions and 17 deletions

View file

@ -733,11 +733,14 @@ a:hover code {
text-decoration: none;
}
.hljs {
font-family: "SFMono-Regular",source-code-pro,Menlo,Monaco,Consolas,"Roboto Mono","Droid Sans Mono","Liberation Mono",Consolas,"Courier New",Courier,monospace;
border-left: 4px solid $primaryColor;
font-size: 13px;
pre code {
display:block;
margin: 20px 0;
padding:0.5em;
border-left: 4px solid $primaryColor;
font-family: "SFMono-Regular",source-code-pro,Menlo,Monaco,Consolas,"Roboto Mono","Droid Sans Mono","Liberation Mono",Consolas,"Courier New",Courier,monospace;
font-size: 13px;
overflow-x:auto;
}
/** GitHub **/