]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add missing newlines around fenced codeblocks (#34630)
authorXhmikosR <xhmikosr@gmail.com>
Fri, 30 Jul 2021 05:56:36 +0000 (08:56 +0300)
committerGitHub <noreply@github.com>
Fri, 30 Jul 2021 05:56:36 +0000 (08:56 +0300)
site/content/docs/5.0/components/alerts.md
site/content/docs/5.0/components/modal.md

index 3389763239bdac5a26436cb52801d120c2a0a2d2..1df07983e05bc0a221ae5f57a8c86761cfe1bc70 100644 (file)
@@ -196,6 +196,7 @@ var alerts =  [].slice.call(alertList).map(function (element) {
   return new bootstrap.Alert(element)
 })
 ```
+
 {{< callout info >}}
 For the sole purpose of dismissing an alert, it isn't necessary to initialize the component manually via the JS API. By making use of `data-bs-dismiss="alert"`, the component will be initialized automatically and properly dismissed.
 
index 56fad0297d5f46e3ffb18726c83b64b5a8ed87b3..7b8902820fd9cb2636bf74f267118c9b3e15ec6b 100644 (file)
@@ -838,6 +838,7 @@ Activate a modal without writing JavaScript. Set `data-bs-toggle="modal"` on a c
 ```html
 <button type="button" data-bs-toggle="modal" data-bs-target="#myModal">Launch modal</button>
 ```
+
 #### Dismiss
 
 {{% js-dismiss "modal" %}}