mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
add markdown toc stuff
This commit is contained in:
@@ -5,6 +5,11 @@ title: Download
|
||||
|
||||
Bootstrap is available for download via ZIP file in two flavors: precompiled CSS and Javascript, and the complete source code with documentation.
|
||||
|
||||
## Contents
|
||||
|
||||
* Will be replaced with the ToC, excluding the "Contents" header
|
||||
{:toc}
|
||||
|
||||
{% comment %}
|
||||
## Optional builds
|
||||
|
||||
@@ -23,25 +28,25 @@ Download the entire project and quickly get developing. Includes all CSS and Jav
|
||||
---
|
||||
{% endcomment %}
|
||||
|
||||
### Precompiled
|
||||
## Precompiled
|
||||
|
||||
Compiled and minified CSS and JavaScript. No docs or original source files are included.
|
||||
|
||||
<a href="{{ site.download.dist }}" class="btn btn-lg btn-outline" role="button" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download compiled');">Download Bootstrap</a>
|
||||
|
||||
### Download source and docs
|
||||
## Download source and docs
|
||||
|
||||
Source Sass, JavaScript, and documentation. **Requires a Sass compiler and [some setup](../compiling).**
|
||||
|
||||
<a href="{{ site.download.source }}" class="btn btn-lg btn-outline" role="button" onclick="ga('send', 'event', 'Getting started', 'Download', 'Download source');">Download source</a>
|
||||
|
||||
### Bower
|
||||
## Bower
|
||||
|
||||
You can also install and manage Bootstrap's Sass, CSS, and JavaScript using [Bower](http://bower.io).
|
||||
|
||||
{% highlight bash %}$ bower install bootstrap{% endhighlight %}
|
||||
|
||||
### npm
|
||||
## npm
|
||||
|
||||
Bootstrap is available as [an npm package](https://www.npmjs.org/package/bootstrap). Install it into your Node powered apps with:
|
||||
|
||||
@@ -54,19 +59,18 @@ Bootstrap's `package.json` contains some additional metadata under the following
|
||||
- `less` - path to Bootstrap's main [Less](http://lesscss.org) source file
|
||||
- `style` - path to Bootstrap's non-minified CSS that's been precompiled using the default settings (no customization)
|
||||
|
||||
### Meteor
|
||||
## Meteor
|
||||
|
||||
{% highlight bash %}
|
||||
$ meteor add twbs:bootstrap
|
||||
{% endhighlight %}
|
||||
|
||||
### Composer
|
||||
## Composer
|
||||
|
||||
{% highlight bash %}
|
||||
$ composer require twbs/bootstrap
|
||||
{% endhighlight %}
|
||||
|
||||
|
||||
### Autoprefixer required
|
||||
## Autoprefixer required
|
||||
|
||||
Bootstrap uses [Autoprefixer](https://github.com/postcss/autoprefixer) to deal with [CSS vendor prefixes](http://webdesign.about.com/od/css/a/css-vendor-prefixes.htm). If you're compiling Bootstrap from its source Sass 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 as Autoprefixer is already integrated into our Gruntfile.
|
||||
|
||||
Reference in New Issue
Block a user