]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
fix linter issues mdo/v6-dev 41236/head
authorMark Otto <markdotto@gmail.com>
Sat, 31 May 2025 20:28:43 +0000 (13:28 -0700)
committerMark Otto <markdotto@gmail.com>
Sat, 31 May 2025 20:28:43 +0000 (13:28 -0700)
site/src/content/docs/components/accordion.mdx
site/src/content/docs/components/toggler.mdx
site/src/content/docs/content/prose.mdx
site/src/content/docs/getting-started/vite.mdx
site/src/content/docs/layout/columns.mdx

index b4bb4f6131c1b49d2629a970e70bcb52a2f83ace..b36851103f9fc6c6c5870501dc8e7d035631f9b6 100644 (file)
@@ -18,6 +18,7 @@ The accordion uses [collapse]([[docsref:/components/collapse]]) internally to ma
 Click the accordions below to expand/collapse the accordion content.
 
 To render an accordion that’s expanded by default:
+
 - add the `.show` class on the `.accordion-collapse` element.
 - drop the `.collapsed` class from the `.accordion-button` element and set its `aria-expanded` attribute to `true`.
 
index 2c29d0d514d056152018bf481136de1f2fc44865..56da4cde946989531b97b42ae7ed274b7fe24b53 100644 (file)
@@ -145,4 +145,4 @@ var myToggler = document.getElementById('myToggler')
 myToggler.addEventListener('toggle.bs.toggler', function () {
   // do something...
 })
-```
\ No newline at end of file
+```
index ee8489cba2a67a6fa61a6feb8b5a80ca07b6e8fa..4b29275817ee1e0e11bf9e5ce5a5c9ea29aa124c 100644 (file)
@@ -48,7 +48,7 @@ Effective documentation requires careful attention to structure and flow. When o
 
 Inline code is available with the `<code>` element. Snippets of multiple lines of code are supported through Rouge. Longer lines will automatically scroll horizontally when needed. You may also use code fencing (triple backticks) for rendering code.
 
-```
+```js
 // Example can be run directly in your JavaScript console
 
 // Create a function that takes two arguments and returns the sum of those arguments
index ad691c79b13c825e498e481363f3118bf8c2ac1e..0041285b5abba22a766b4b3618a16437e7a1c57a 100644 (file)
@@ -166,7 +166,7 @@ In the next and final section to this guide, we’ll import all of Bootstrap’s
 
    *You can also import our stylesheets individually if you want. [Read our Sass import docs]([[docsref:/customize/sass#importing]]) for details.*
 
-3. **Next we load the CSS and import Bootstrap’s JavaScript.** Add the following to `src/js/main.js` to load the CSS and import all of Bootstrap’s JS. Popper will be imported automatically through Bootstrap.
+2. **Next we load the CSS and import Bootstrap’s JavaScript.** Add the following to `src/js/main.js` to load the CSS and import all of Bootstrap’s JS. Popper will be imported automatically through Bootstrap.
 
    ```js
    // Import our custom CSS
@@ -187,7 +187,7 @@ In the next and final section to this guide, we’ll import all of Bootstrap’s
 
    *[Read our JavaScript docs]([[docsref:/getting-started/javascript/]]) for more information on how to use Bootstrap’s plugins.*
 
-4. **And you’re done! 🎉** With Bootstrap’s source Sass and JS fully loaded, your local development server should now look like this:
+3. **And you’re done! 🎉** With Bootstrap’s source Sass and JS fully loaded, your local development server should now look like this:
 
    <img class="img-fluid" src="/docs/[[config:docs_version]]/assets/img/guides/vite-dev-server-bootstrap.png" alt="Vite dev server running with Bootstrap" />
 
index c97a4bfa12d7182aca37d4b39951aeb2400617a4..b0bdca4bf6d969c5b4cc47faa18fa5d0373c8bbf 100644 (file)
@@ -217,7 +217,6 @@ There are also responsive `.order-first` and `.order-last` classes that change t
     </div>
   </div>`} />
 
-
 If you need more `.order-*` classes, you can add new ones by modifying our `$utilities` Sass map. [Read our Sass maps and loops docs]([[docsref:/customize/sass#maps-and-loops]]) or [our Modify utilities docs]([[docsref:/utilities/api#modify-utilities]]) for details.
 
 ```scss