From 5c6925385ee926a749ead6a4f2ebbfc64e701f36 Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Mon, 12 Oct 2020 09:06:06 +0300 Subject: 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 >}} {{< /example >}} {{% /callout %}} --- site/content/docs/5.0/getting-started/javascript.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'site/content/docs/5.0/getting-started/javascript.md') diff --git a/site/content/docs/5.0/getting-started/javascript.md b/site/content/docs/5.0/getting-started/javascript.md index 38b226623..836220363 100644 --- a/site/content/docs/5.0/getting-started/javascript.md +++ b/site/content/docs/5.0/getting-started/javascript.md @@ -25,11 +25,11 @@ We provide a version of Bootstrap built as `ESM` (`bootstrap.esm.js` and `bootst {{< /highlight >}} -{{< callout warning >}} +{{% callout warning %}} ## Incompatible plugins Due to browser limitations, some of our plugins, namely Dropdown, Tooltip and Popover plugins, cannot be used in a `