Upgrade Slate to commit 97c8dd4
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
---
|
||||
title: API Reference
|
||||
|
||||
language_tabs: # must be one of https://git.io/vQNgJ
|
||||
language_tabs: # must be one of https://github.com/rouge-ruby/rouge/wiki/List-of-supported-languages-and-lexers
|
||||
- shell
|
||||
- ruby
|
||||
- python
|
||||
|
||||
@@ -143,7 +143,7 @@ under the License.
|
||||
languages = l;
|
||||
|
||||
var presetLanguage = getLanguageFromQueryString();
|
||||
if (presetLanguage) {
|
||||
if (presetLanguage && languages.includes(presetLanguage)) {
|
||||
// the language is in the URL, so use that language!
|
||||
activateLanguage(presetLanguage);
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
/*! normalize.css v3.0.2 | MIT License | git.io/normalize */
|
||||
/*! normalize.css v3.0.2 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
/**
|
||||
* 1. Set default font family to sans-serif.
|
||||
|
||||
@@ -609,6 +609,10 @@ html, body {
|
||||
%right-col + %left-col {
|
||||
margin-top: $main-padding;
|
||||
}
|
||||
|
||||
.highlight + p {
|
||||
margin-top: 20px;
|
||||
}
|
||||
}
|
||||
|
||||
.highlight .c, .highlight .cm, .highlight .c1, .highlight .cs {
|
||||
|
||||
Reference in New Issue
Block a user