diff options
| author | XhmikosR <[email protected]> | 2017-09-26 12:30:58 +0300 |
|---|---|---|
| committer | GitHub <[email protected]> | 2017-09-26 12:30:58 +0300 |
| commit | 388356acdfa8fac31773a881290ec5696e71208c (patch) | |
| tree | 66f8758c51fd6f5f5922ad83cf8a52cb4abcb896 | |
| parent | 537651c0c6f2b0758e23874b7ee922504737d3a6 (diff) | |
| download | bootstrap-388356acdfa8fac31773a881290ec5696e71208c.tar.xz bootstrap-388356acdfa8fac31773a881290ec5696e71208c.zip | |
docs: fix syntax highlighting for shell scripts. (#24103)
Switch all instances to `sh` but keep `bash` so that things won't break either way.
| -rw-r--r-- | assets/scss/_syntax.scss | 14 | ||||
| -rw-r--r-- | docs/4.0/getting-started/download.md | 6 |
2 files changed, 15 insertions, 5 deletions
diff --git a/assets/scss/_syntax.scss b/assets/scss/_syntax.scss index 9b5b2e712..ca19dde81 100644 --- a/assets/scss/_syntax.scss +++ b/assets/scss/_syntax.scss @@ -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; +} diff --git a/docs/4.0/getting-started/download.md b/docs/4.0/getting-started/download.md index a5a586e9c..33014a110 100644 --- a/docs/4.0/getting-started/download.md +++ b/docs/4.0/getting-started/download.md @@ -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 %} |
