From: XhmikosR Date: Sun, 21 Oct 2018 19:02:45 +0000 (+0300) Subject: Use the example shortcode in more places. X-Git-Tag: v4.2.0~198 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d48f03b050c1e9044317c7ea592703eeeaf26b4f;p=thirdparty%2Fbootstrap.git Use the example shortcode in more places. Now that we don't have the ToC issue with the examples' headers in ToC, we can safely do this.no_toc_section_class --- diff --git a/site/docs/4.1/components/badge.md b/site/docs/4.1/components/badge.md index 0e97cbe763..8c17600459 100644 --- a/site/docs/4.1/components/badge.md +++ b/site/docs/4.1/components/badge.md @@ -10,23 +10,15 @@ toc: true Badges scale to match the size of the immediate parent element by using relative font sizing and `em` units. -
-
Example heading New
-
Example heading New
-
Example heading New
-
Example heading New
-
Example heading New
-
Example heading New
-
- -{% highlight html %} +{% capture example %}

Example heading New

Example heading New

Example heading New

Example heading New

Example heading New
Example heading New
-{% endhighlight %} +{% endcapture %} +{% include example.html content=example %} Badges can be used as part of links or buttons to provide a counter. diff --git a/site/docs/4.1/content/typography.md b/site/docs/4.1/content/typography.md index 795f807b60..2451367e0c 100644 --- a/site/docs/4.1/content/typography.md +++ b/site/docs/4.1/content/typography.md @@ -94,19 +94,13 @@ All HTML headings, `

` through `

`, are available. Use the included utility classes to recreate the small secondary heading text from Bootstrap 3. -
- - Fancy display heading - With faded secondary text - -
- -{% highlight html %} +{% capture example %}

Fancy display heading With faded secondary text

-{% endhighlight %} +{% endcapture %} +{% include example.html content=example %} ## Display headings