]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Minor Markdown consistency cleanup. (#24605)
authorXhmikosR <xhmikosr@gmail.com>
Mon, 30 Oct 2017 21:53:57 +0000 (23:53 +0200)
committerGitHub <noreply@github.com>
Mon, 30 Oct 2017 21:53:57 +0000 (23:53 +0200)
docs/4.0/components/breadcrumb.md
docs/4.0/components/navbar.md
docs/4.0/getting-started/javascript.md
docs/4.0/getting-started/webpack.md
docs/4.0/utilities/flex.md
docs/4.0/utilities/spacing.md

index 09ad73127775c8ef869a9dec403b4a073be4386b..928ae101ffc3d9987902c978eb3c4679fa99d76e 100644 (file)
@@ -10,7 +10,6 @@ group: components
 Separators are automatically added in CSS through [`::before`](https://developer.mozilla.org/en-US/docs/Web/CSS/::before) and [`content`](https://developer.mozilla.org/en-US/docs/Web/CSS/content).
 
 {% example html %}
-
 <nav aria-label="breadcrumb" role="navigation">
   <ol class="breadcrumb">
     <li class="breadcrumb-item active" aria-current="page">Home</li>
index a40b68897b93d1661452d267cd00c73af649d474..76e09258f4e0c97ace6b8152dcf94ef48dc27cca 100644 (file)
@@ -14,7 +14,7 @@ Here's what you need to know before getting started with the navbar:
 - Navbars and their contents are fluid by default. Use [optional containers](#containers) to limit their horizontal width.
 - Use our [spacing]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/spacing/) and [flex]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/flex/) utility classes for controlling spacing and alignment within navbars.
 - Navbars are responsive by default, but you can easily modify them to change that. Responsive behavior depends on our Collapse JavaScript plugin.
-- Navbars are hidden by default when printing. Force them to be printed by adding `.d-print` to the `.navbar`. See the [display]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/display/) utility class. 
+- Navbars are hidden by default when printing. Force them to be printed by adding `.d-print` to the `.navbar`. See the [display]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/display/) utility class.
 - Ensure accessibility by using a `<nav>` element or, if using a more generic element such as a `<div>`, add a `role="navigation"` to every navbar to explicitly identify it as a landmark region for users of assistive technologies.
 
 Read on for an example and list of supported sub-components.
index a0094d154c02bb16c6f543c0bb8631a369c90263..ed2d18bf9ca865d4d12d1aaa48431c5711bb65d5 100644 (file)
@@ -67,6 +67,7 @@ Each plugin also exposes its raw constructor on a `Constructor` property: `$.fn.
 All programmatic API methods are **asynchronous** and returns to the caller once the transition is started but **before it ends**.
 
 In order to execute an action once the transition is complete, you can listen to the corresponding event.
+
 {% highlight js %}
 $('#myCollapse').on('shown.bs.collapse', function (e) {
   // Action to execute once the collapsible area is expanded
@@ -74,6 +75,7 @@ $('#myCollapse').on('shown.bs.collapse', function (e) {
 {% endhighlight %}
 
 In addition a method call on a **transitioning component will be ignored**.
+
 {% highlight js %}
 $('#myCarousel').on('slid.bs.carousel', function (e) {
   $('#myCarousel').carousel('2') // Will slide to the slide 2 as soon as the transition to slide 1 is finished
index 04af8d4f635ce8fe2da22f2c2cea3ca37d6b94cf..082f835ad661b5ac40d6ea913d786a2965eaabaa 100644 (file)
@@ -56,6 +56,7 @@ Notice that if you chose to **import plugins individually**, you must also insta
 To enjoy the full potential of Bootstrap and customize it to your needs, use the source files as a part of your project's bundling process.
 
 First, create your own `_custom.scss` and use it to override the [built-in custom variables]({{ site.baseurl }}/docs/{{ site.docs_version }}/getting-started/options/). Then, use your main sass file to import your custom variables, followed by Bootstrap:
+
 {% highlight scss %}
 @import "custom";
 @import "~bootstrap/scss/bootstrap";
index 470a7db72316f2c26c894aa16b641bf8a37c4158..79a0e0618aec966a41087c1b50ff93abcce0556c 100644 (file)
@@ -280,6 +280,7 @@ Change how flex items wrap in a flex container. Choose from no wrapping at all (
     <div class="p-2 bd-highlight">Flex item</div>
   </div>
 </div>
+
 {% highlight html %}
 <div class="d-flex flex-nowrap">
   ...
@@ -305,6 +306,7 @@ Change how flex items wrap in a flex container. Choose from no wrapping at all (
     <div class="p-2 bd-highlight">Flex item</div>
   </div>
 </div>
+
 {% highlight html %}
 <div class="d-flex flex-wrap">
   ...
@@ -330,6 +332,7 @@ Change how flex items wrap in a flex container. Choose from no wrapping at all (
     <div class="p-2 bd-highlight">Flex item</div>
   </div>
 </div>
+
 {% highlight html %}
 <div class="d-flex flex-wrap-reverse">
   ...
@@ -337,9 +340,6 @@ Change how flex items wrap in a flex container. Choose from no wrapping at all (
 {% endhighlight %}
 
 
-{% example html %}
-{% endexample %}
-
 Responsive variations also exist for `flex-wrap`.
 
 {% for bp in site.data.breakpoints %}
@@ -389,6 +389,7 @@ Use `align-content` utilities on flexbox containers to align flex items *togethe
     <div class="p-2 bd-highlight">Flex item</div>
   </div>
 </div>
+
 {% highlight html %}
 <div class="d-flex align-content-start flex-wrap">
   ...
@@ -414,6 +415,7 @@ Use `align-content` utilities on flexbox containers to align flex items *togethe
     <div class="p-2 bd-highlight">Flex item</div>
   </div>
 </div>
+
 {% highlight html %}
 <div class="d-flex align-content-end flex-wrap">...</div>
 {% endhighlight %}
@@ -437,6 +439,7 @@ Use `align-content` utilities on flexbox containers to align flex items *togethe
     <div class="p-2 bd-highlight">Flex item</div>
   </div>
 </div>
+
 {% highlight html %}
 <div class="d-flex align-content-center flex-wrap">...</div>
 {% endhighlight %}
@@ -460,6 +463,7 @@ Use `align-content` utilities on flexbox containers to align flex items *togethe
     <div class="p-2 bd-highlight">Flex item</div>
   </div>
 </div>
+
 {% highlight html %}
 <div class="d-flex align-content-between flex-wrap">...</div>
 {% endhighlight %}
@@ -483,6 +487,7 @@ Use `align-content` utilities on flexbox containers to align flex items *togethe
     <div class="p-2 bd-highlight">Flex item</div>
   </div>
 </div>
+
 {% highlight html %}
 <div class="d-flex align-content-around flex-wrap">...</div>
 {% endhighlight %}
@@ -506,6 +511,7 @@ Use `align-content` utilities on flexbox containers to align flex items *togethe
     <div class="p-2 bd-highlight">Flex item</div>
   </div>
 </div>
+
 {% highlight html %}
 <div class="d-flex align-content-stretch flex-wrap">...</div>
 {% endhighlight %}
index 035a337afec24782d90970fc23d631cc4fd361b0..b374748e03c8cc62ee1a37d1dfa8aab103c1156f 100644 (file)
@@ -67,6 +67,7 @@ Here are some representative examples of these classes:
 {% endhighlight %}
 
 ### Horizontal centering
+
 Additionally, Bootstrap also includes an `.mx-auto` class for horizontally centering fixed-width block level content—that is, content that has `display: block` and a `width` set—by setting the horizontal margins to `auto`.
 
 <div class="bd-example">