mirror of
https://github.com/tenrok/bootstrap.git
synced 2026-06-14 18:42:30 +03:00
Use h5 for callouts so that they are not included in ToC.
Callouts are already excluded from ToC, but due to a limitation in jekyll-toc they are still being included. We should revisit this if the bug is fixed later.
This commit is contained in:
@@ -257,14 +257,14 @@ $('body').scrollspy({ target: '#navbar-example' })
|
||||
{% endhighlight %}
|
||||
|
||||
{% capture callout %}
|
||||
#### Resolvable ID targets required
|
||||
##### Resolvable ID targets required
|
||||
|
||||
Navbar links must have resolvable id targets. For example, a `<a href="#home">home</a>` must correspond to something in the DOM like `<div id="home"></div>`.
|
||||
{% endcapture %}
|
||||
{% include callout.html content=callout type="danger" %}
|
||||
|
||||
{% capture callout %}
|
||||
#### Non-`:visible` target elements ignored
|
||||
##### Non-`:visible` target elements ignored
|
||||
|
||||
Target elements that are not [`:visible` according to jQuery](https://api.jquery.com/visible-selector/) will be ignored and their corresponding nav items will never be highlighted.
|
||||
{% endcapture %}
|
||||
|
||||
Reference in New Issue
Block a user