mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
docs: fix syntax highlighting for shell scripts. (#24103)
Switch all instances to `sh` but keep `bash` so that things won't break either way.
This commit is contained in:
parent
537651c0c6
commit
388356acdf
@ -62,5 +62,15 @@
|
||||
.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;
|
||||
}
|
||||
|
@ -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 %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user