Upgrade Slate to commit 97c8dd4

This commit is contained in:
Andy Wilkinson
2024-05-31 14:06:22 +01:00
parent 93e89496a6
commit c98c705ad9
11 changed files with 133 additions and 58 deletions

View File

@@ -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

View File

@@ -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);

View File

@@ -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.

View File

@@ -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 {