0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-12 00:08:59 +01:00
Bootstrap/site/layouts/shortcodes
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
..
bs-table.html Create a new table shortcode so we can easily add Bootstrap table classes to Markdown tables 2020-04-26 17:26:04 -07:00
callout.html Improve callout shortcode. (#31802) 2020-10-12 09:06:06 +03:00
docsref.html Add a docsref shortcode. 2019-03-13 19:22:59 +02:00
example.html shortcodes/example.html: allow specifying the highlighting language 2020-06-03 15:57:20 +03:00
markdown.html Switch to Hugo. 2019-03-13 19:22:59 +02:00
param.html Add a param shortcode to work around the escaped characters in hashes 2020-05-07 20:53:21 +03:00
partial.html Switch to Hugo. 2019-03-13 19:22:59 +02:00
placeholder.html docs(placeholder): drop role=img and use aria-hidden for decorative SVG placeholders (#31575) 2020-09-04 20:21:54 +03:00
scss-docs.html Create scss-docs shortcode to get some snippets from the Scs… (#30502) 2020-04-06 20:13:35 +02:00
table.html Prevent nested tables style leaks 2020-04-24 10:05:10 +02:00
year.html Switch to Hugo. 2019-03-13 19:22:59 +02:00