Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: fix syntax highlighting for shell scripts. #24103

Merged
merged 1 commit into from
Sep 26, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 12 additions & 2 deletions assets/scss/_syntax.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
6 changes: 3 additions & 3 deletions docs/4.0/getting-started/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}

Expand All @@ -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 %}

Expand All @@ -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 %}

Expand Down