From: XhmikosR Date: Fri, 30 Jul 2021 05:56:36 +0000 (+0300) Subject: Add missing newlines around fenced codeblocks (#34630) X-Git-Tag: v5.1.0~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=23fd488c380c347a3d0121a49b6285bdd65418a2;p=thirdparty%2Fbootstrap.git Add missing newlines around fenced codeblocks (#34630) --- diff --git a/site/content/docs/5.0/components/alerts.md b/site/content/docs/5.0/components/alerts.md index 3389763239..1df07983e0 100644 --- a/site/content/docs/5.0/components/alerts.md +++ b/site/content/docs/5.0/components/alerts.md @@ -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. diff --git a/site/content/docs/5.0/components/modal.md b/site/content/docs/5.0/components/modal.md index 56fad0297d..7b8902820f 100644 --- a/site/content/docs/5.0/components/modal.md +++ b/site/content/docs/5.0/components/modal.md @@ -838,6 +838,7 @@ Activate a modal without writing JavaScript. Set `data-bs-toggle="modal"` on a c ```html ``` + #### Dismiss {{% js-dismiss "modal" %}}