# Bootstrap in Markdown File

**URL:** <https://discourse.gohugo.io/t/bootstrap-in-markdown-file/15419>\
**Category:** support\
**Created:** [November 21, 2018, 10:23am UTC](https://discourse.gohugo.io/t/bootstrap-in-markdown-file/15419 "2018-11-21T10:23:18Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![RickCogley](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/rickcogley/32/10269_2.png) [@RickCogley](https://discourse.gohugo.io/u/RickCogley)\
**Post date:** [November 21, 2018, 10:27pm UTC](https://discourse.gohugo.io/t/bootstrap-in-markdown-file/15419/6 "2018-11-21T22:27:47Z")

</div>

For some things, short codes are a good option.

> [@Shortcode for bootstrap 4 carousel using page resources](https://discourse.gohugo.io/t/shortcode-for-bootstrap-4-carousel-using-page-resources/15431):
>
> Frontmatter: resources: - src: carousel/slide1.jpg name: slide title: slide 1 - src: carousel/slide2.jpg name: slide title: slide 2 - src: carousel/slide3.jpg name: slide title: slide 3 shortcode carousel.html: {{ $slides := ( $.Page.Resources.Match "slide\*" ) }} \<div class="section" id="carousel"\> \<div class="container"\> {{ with .Get "title" }} \<div class="title"\> \<h4\>{{ . }}\</h4\> \</div\> {{ end }} \<…

---

_[View the full topic](https://discourse.gohugo.io/t/bootstrap-in-markdown-file/15419)._
