diff --git a/docs/_includes/getting-started/download.html b/docs/_includes/getting-started/download.html index 7564fd3cb..08ddfe7d4 100644 --- a/docs/_includes/getting-started/download.html +++ b/docs/_includes/getting-started/download.html @@ -42,11 +42,11 @@
You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using Bower:
- {% highlight bash %}$ bower install bootstrap{% endhighlight %} + {% highlight bash %}bower install bootstrap{% endhighlight %}You can also install Bootstrap using npm:
- {% highlight bash %}$ npm install bootstrap@3{% endhighlight %} + {% highlight bash %}npm install bootstrap@3{% endhighlight %}require('bootstrap') will load all of Bootstrap's jQuery plugins onto the jQuery object. The bootstrap module itself does not export anything. You can manually load Bootstrap's jQuery plugins individually by loading the /js/*.js files under the package's top-level directory.
Bootstrap's package.json contains some additional metadata under the following keys:
You can also install and manage Bootstrap's Less, CSS, JavaScript, and fonts using Composer:
- {% highlight bash %}$ composer require twbs/bootstrap{% endhighlight %} + {% highlight bash %}composer require twbs/bootstrap{% endhighlight %}Bootstrap uses Autoprefixer to deal with CSS vendor prefixes. If you're compiling Bootstrap from its Less/Sass source and not using our Gruntfile, you'll need to integrate Autoprefixer into your build process yourself. If you're using precompiled Bootstrap or using our Gruntfile, you don't need to worry about this because Autoprefixer is already integrated into our Gruntfile.
diff --git a/docs/_includes/getting-started/whats-included.html b/docs/_includes/getting-started/whats-included.html index b9b42179a..3d48efa2d 100644 --- a/docs/_includes/getting-started/whats-included.html +++ b/docs/_includes/getting-started/whats-included.html @@ -12,7 +12,7 @@Once downloaded, unzip the compressed folder to see the structure of (the compiled) Bootstrap. You'll see something like this:
-{% highlight bash %} +{% highlight text %} bootstrap/ ├── css/ │ ├── bootstrap.css @@ -39,7 +39,7 @@ Copy any changes made here over to the README too. -->The Bootstrap source code download includes the precompiled CSS, JavaScript, and font assets, along with source Less, JavaScript, and documentation. More specifically, it includes the following and more:
-{% highlight bash %} +{% highlight text %} bootstrap/ ├── less/ ├── js/ diff --git a/docs/assets/less/syntax.less b/docs/assets/less/syntax.less index e9d7f61ed..2398d6c60 100644 --- a/docs/assets/less/syntax.less +++ b/docs/assets/less/syntax.less @@ -94,3 +94,9 @@ display: inline-block; padding-right: 45px; } + +.language-bash:before { + color: #033; + content: "$ "; + user-select: none; +}