]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
docs: fix syntax highlighting for shell scripts. (#24103)
authorXhmikosR <xhmikosr@gmail.com>
Tue, 26 Sep 2017 09:30:58 +0000 (12:30 +0300)
committerGitHub <noreply@github.com>
Tue, 26 Sep 2017 09:30:58 +0000 (12:30 +0300)
Switch all instances to `sh` but keep `bash` so that things won't break either way.

assets/scss/_syntax.scss
docs/4.0/getting-started/download.md

index 9b5b2e712ff210cbab72c72d9463207cf4a0d554..ca19dde819f3ac31ba00afcb6db9cee557e5e2d8 100644 (file)
 .css .o + .nt,
 .css .nt + .nt { color: #999; }
 
-.language-bash::before { color: #009; content: "$ "; user-select: none; }
-.language-powershell::before { color: #009; content: "PM> "; user-select: none; }
+.language-bash::before,
+.language-sh::before {
+  color: #009;
+  content: "$ ";
+  user-select: none;
+}
+
+.language-powershell::before {
+  color: #009;
+  content: "PM> ";
+  user-select: none;
+}
index a5a586e9ceedbf4f0bf138d32e5116e3fdd4e92d..33014a110c159bd74c186a3b98c7422aaf4008f8 100644 (file)
@@ -52,7 +52,7 @@ Pull in Bootstrap's **source files** into nearly any project with some of the mo
 
 Install Bootstrap in your Node powered apps with [the npm package](https://www.npmjs.com/package/bootstrap):
 
-{% highlight bash %}
+{% highlight sh %}
 npm install bootstrap@{{ site.current_version }}
 {% endhighlight %}
 
@@ -73,7 +73,7 @@ gem 'bootstrap', '~> 4.0.0.beta'
 
 Alternatively, if you're not using Bundler, you can install the gem by running this command:
 
-{% highlight bash %}
+{% highlight sh %}
 gem install bootstrap -v 4.0.0.beta
 {% endhighlight %}
 
@@ -83,7 +83,7 @@ gem install bootstrap -v 4.0.0.beta
 
 You can also install and manage Bootstrap's Sass and JavaScript using [Composer](https://getcomposer.org):
 
-{% highlight bash %}
+{% highlight sh %}
 composer require twbs/bootstrap:{{ site.current_version }}
 {% endhighlight %}