Doc

Cards

Cards Sugam Pokharel

The cards shortcode renders a grid of content cards. Cards are separated using <!--card--> and each card supports title: and content:. The content of the cards can be written in normal markdown and it will be rendered correctly. You can even embed other shortcodes within the content.

Shortcode Example

MD
1
2
3
4
5
6
7
8
{{< cards >}}
title: First Card
content:
This is card one.
<!--card-->
content:
This card has no title, so default title is used.
{{< /cards >}}

Actual Use

First Card

This is card one.

Card 2

This card has no title, so default title is used.

Share this article

  • X
  • Facebook
  • LinkedIn
  • Reddit
  • WhatsApp
  • Telegram
  • Pinterest
  • Bluesky