Doc

Figure

Figure Sugam Pokharel

The figure shortcode renders images with optional caption, title, attribution, and link behavior.

Common params include src, alt, caption, class,title, width, height, link, and target. You can add ‘center’ or ‘right’ in the class field to align the figure that way.

Shortcode Example

MD
1
2
{{< figure src="/android-chrome-512x512.png" alt="Logo" caption="Theme icon" width="220" >}}
{{< figure src="/android-chrome-192x192.png" alt="Small icon" caption="Clickable image" link="/" target="_self" >}}

Actual Use

Logo
Theme icon
Small icon
Clickable image
Logo
Center Align
Logo
Right Align

Share this article

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