From a05792b363029dd2e24e9014b02f088dbbc95b57 Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Mon, 4 Jul 2016 23:15:09 -0400 Subject: [PATCH] Add language labels to code snippets and highlight command output properly [ci skip] --- docs/assets/style.css | 5 ++++ docs/template.html | 61 ++++++++++++++++++++++++++++++++++++++----- 2 files changed, 59 insertions(+), 7 deletions(-) diff --git a/docs/assets/style.css b/docs/assets/style.css index b6587d014..ddbbb7127 100644 --- a/docs/assets/style.css +++ b/docs/assets/style.css @@ -310,6 +310,11 @@ a.list-group-item { -o-transform: none; transform: none; } +.highlight-output pre { + color: #fff; + background-color: #000; + padding: 10px; +} code { padding: 0; padding-top: 0.2em; diff --git a/docs/template.html b/docs/template.html index b0cb56bcf..652d3b51b 100644 --- a/docs/template.html +++ b/docs/template.html @@ -75,6 +75,11 @@ -o-transform: none; transform: none; } + .highlight-output pre { + color: #fff; + background-color: #000; + padding: 10px; + } @@ -200,6 +205,35 @@