]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Move this to a partial to work around the stray `p` issue.
authorXhmikosR <xhmikosr@gmail.com>
Mon, 4 Feb 2019 07:09:07 +0000 (09:09 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 13 Mar 2019 17:22:59 +0000 (19:22 +0200)
site/content/docs/4.3/getting-started/introduction.md
site/layouts/partials/getting-started/components-requiring-javascript.html [new file with mode: 0644]

index 7e32385f945507fbb69342bf529837b558e5b69b..9d9a2870ef2181e546e1aa6624b5198ba1740f9b 100644 (file)
@@ -37,20 +37,7 @@ Curious which components explicitly require our JavaScript and Popper.js? Click
 
 Our `bootstrap.bundle.js` and `bootstrap.bundle.min.js` include [Popper](https://popper.js.org/). For more information about what's included in Bootstrap, please see our [contents](/docs/{{< param docs_version >}}/getting-started/contents/#precompiled-bootstrap) section.
 
-<details>
-<summary class="text-primary mb-3">Show components requiring JavaScript</summary>
-{{< markdown >}}
-- Alerts for dismissing
-- Buttons for toggling states and checkbox/radio functionality
-- Carousel for all slide behaviors, controls, and indicators
-- Collapse for toggling visibility of content
-- Dropdowns for displaying and positioning (also requires [Popper.js](https://popper.js.org/))
-- Modals for displaying, positioning, and scroll behavior
-- Navbar for extending our Collapse plugin to implement responsive behavior
-- Tooltips and popovers for displaying and positioning (also requires [Popper.js](https://popper.js.org/))
-- Scrollspy for scroll behavior and navigation updates
-{{< /markdown >}}
-</details>
+{{< partial "getting-started/components-requiring-javascript" >}}
 
 ## Starter template
 
diff --git a/site/layouts/partials/getting-started/components-requiring-javascript.html b/site/layouts/partials/getting-started/components-requiring-javascript.html
new file mode 100644 (file)
index 0000000..4332a68
--- /dev/null
@@ -0,0 +1,14 @@
+<details>
+  <summary class="text-primary mb-3">Show components requiring JavaScript</summary>
+  <ul>
+    <li>Alerts for dismissing</li>
+    <li>Buttons for toggling states and checkbox/radio functionality</li>
+    <li>Carousel for all slide behaviors, controls, and indicators</li>
+    <li>Collapse for toggling visibility of content</li>
+    <li>Dropdowns for displaying and positioning (also requires <a href="https://popper.js.org/">Popper.js</a>)</li>
+    <li>Modals for displaying, positioning, and scroll behavior</li>
+    <li>Navbar for extending our Collapse plugin to implement responsive behavior</li>
+    <li>Tooltips and popovers for displaying and positioning (also requires <a href="https://popper.js.org/">Popper.js</a>)</li>
+    <li>Scrollspy for scroll behavior and navigation updates</li>
+  </ul>
+</details>