0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-02 14:24:19 +01:00
Bootstrap/site/content/docs/5.0/components
XhmikosR 5c6925385e
Improve callout shortcode. (#31802)
Remove the `markdownify` call, and instead rely on Hugo's proper syntax; `{{% callout %}}` when we want to the content to be processed as Markdown.

This allows for stuff like:

{{% callout info %}}
##### I'm an info callout!

```css
.foo {
  color: #fff;
}
```

{{< example >}}
<div class="alert alert-warning alert-dismissible fade show" role="alert">
  <strong>Holy guacamole!</strong> You should check in on some of those fields below.
  <button type="button" class="btn-close" data-dismiss="alert" aria-label="Close"></button>
</div>
{{< /example >}}
{{% /callout %}}
2020-10-12 09:06:06 +03:00
..
alerts.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
badge.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
breadcrumb.md Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
button-group.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
buttons.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
card.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
carousel.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
close-button.md Update btn-close-white docs to filter (not backdrop-filter) (#31796) 2020-09-30 14:57:00 +03:00
collapse.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
dropdowns.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
list-group.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
modal.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
navbar.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
navs.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
pagination.md Rename sr-only/sr-only-focusable (#31139) 2020-07-03 14:38:11 +03:00
popovers.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
progress.md Bump version to 5.0.0-alpha1 (#29925) 2020-05-13 22:36:00 +03:00
scrollspy.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
spinners.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
toasts.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
tooltips.md Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00