Skip to content

Commit

Permalink
Docs: fix code indentation in homepage JavaScript plugins section (#3…
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond authored Feb 25, 2023
1 parent 6b4b77e commit 80ba848
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions site/layouts/partials/home/plugins.html
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,14 @@ <h3 class="fw-semibold">Data attribute API</h3>
</div>

{{ highlight (printf `<div class="dropdown">
<button class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
Dropdown
</button>
<ul class="dropdown-menu">
<li><button class="dropdown-item" type="button">Dropdown item</button></li>
<li><button class="dropdown-item" type="button">Dropdown item</button></li>
<li><button class="dropdown-item" type="button">Dropdown item</button></li>
</ul>
<button class="btn btn-primary dropdown-toggle" type="button" data-bs-toggle="dropdown" aria-expanded="false">
Dropdown
</button>
<ul class="dropdown-menu">
<li><button class="dropdown-item" type="button">Dropdown item</button></li>
<li><button class="dropdown-item" type="button">Dropdown item</button></li>
<li><button class="dropdown-item" type="button">Dropdown item</button></li>
</ul>
</div>
`) "html" "" }}
<p>Learn more about <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/javascript/#using-bootstrap-as-a-module">our JavaScript as modules</a> and <a href="/docs/{{ .Site.Params.docs_version }}/getting-started/javascript/#programmatic-api">using the programmatic API</a>.</p>
Expand Down

0 comments on commit 80ba848

Please sign in to comment.