diff --git a/_includes/new-includes/components/linux-releases.html b/_includes/new-includes/components/linux-releases.html
index 6589344ba..14e6c9743 100644
--- a/_includes/new-includes/components/linux-releases.html
+++ b/_includes/new-includes/components/linux-releases.html
@@ -86,7 +86,7 @@
Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.
diff --git a/assets/javascripts/new-javascripts/application.js b/assets/javascripts/new-javascripts/application.js
index 334c1c7b1..0f15c2bf0 100644
--- a/assets/javascripts/new-javascripts/application.js
+++ b/assets/javascripts/new-javascripts/application.js
@@ -113,7 +113,7 @@ if (codeBoxes.length) {
})
}
-document.querySelectorAll('h2.header-with-anchor').forEach(header => {
+document.querySelectorAll('h2.html-header-with-anchor').forEach(header => {
if (!header.id) return;
const link = document.createElement('a');
diff --git a/assets/stylesheets/new-stylesheets/_core.scss b/assets/stylesheets/new-stylesheets/_core.scss
index 2f62a68ba..c405aaafc 100644
--- a/assets/stylesheets/new-stylesheets/_core.scss
+++ b/assets/stylesheets/new-stylesheets/_core.scss
@@ -69,7 +69,8 @@ blockquote {
}
}
-.header-with-anchor {
+.header-with-anchor,
+.html-header-with-anchor {
scroll-margin-top: 80px;
a {
@@ -82,7 +83,8 @@ blockquote {
}
}
-h2.header-with-anchor {
+h2.header-with-anchor,
+.html-header-with-anchor {
&:hover {
a {
display: inline-block;
diff --git a/install/linux/index.md b/install/linux/index.md
index 101be501c..568990af0 100644
--- a/install/linux/index.md
+++ b/install/linux/index.md
@@ -6,7 +6,7 @@ title: Install Swift - Linux
---
-
+
{% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.linux.releases.latest-release.swiftly %}
@@ -17,7 +17,7 @@ title: Install Swift - Linux
{% include new-includes/components/code-box.html content = site.data.new-data.install.linux.releases.latest-release.container %}
-
+
@@ -30,13 +30,13 @@ title: Install Swift - Linux
-
+
{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.build-a-package%}
-
+
Additional components for cross-compilation
@@ -54,7 +54,7 @@ title: Install Swift - Linux
Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.
@@ -63,7 +63,7 @@ title: Install Swift - Linux
{% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.linux.dev.latest-dev.swiftly %}
-
+
-
+
{% include new-includes/components/code-box.html with-tabs = true content = site.data.new-data.install.macos.releases.latest-release.swiftly%}
-
+
@@ -34,13 +34,13 @@ title: Install Swift - macOS
{% include new-includes/components/code-box.html content = site.data.new-data.install.macos.releases.latest-release.other_editors%}
-
+
{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.build-a-package%}
-
+
Additional components for cross-compilation
@@ -56,7 +56,7 @@ title: Install Swift - macOS
-
+
@@ -83,7 +83,7 @@ title: Install Swift - macOS
-
+
Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.
The easiest way to install development snapshots is with the Swiftly tool. Read more on the instructions page.
@@ -151,7 +151,7 @@ title: Install Swift - macOS
-
+
Additional components for cross-compilation
diff --git a/install/windows/index.md b/install/windows/index.md
index 2c8a4f9a0..e8d3517b8 100644
--- a/install/windows/index.md
+++ b/install/windows/index.md
@@ -13,13 +13,13 @@ title: Install Swift - Windows
{% assign platform = site.data.builds.swift_releases.last.platforms | where: 'name', 'Windows 10' | first %}
-
+
{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.winget %}
-
+
@@ -32,13 +32,13 @@ title: Install Swift - Windows
-
+
{% include new-includes/components/code-box.html content = site.data.new-data.install.windows.releases.latest-release.build-a-package%}
-
+
@@ -76,7 +76,7 @@ title: Install Swift - Windows
-
+
Previous releases of Swift are available for installation on Windows using the manual installer, as documented here.
@@ -88,7 +88,7 @@ title: Install Swift - Windows
-
+
Swift snapshots are prebuilt binaries that are automatically created from the branch. These snapshots are not official releases. They have gone through automated unit testing, but they have not gone through the full testing that is performed for official releases.