Wavecast ships a set of utility shortcodes for building rich content pages without custom HTML.
All are dark-mode aware, responsive, and accessible.
Admonitions / Callouts
Four variants: note, tip, warning, danger. Accepts an optional title.
Note
Tip
Warning
Danger
Three variants: primary, secondary, outline. External URLs open in a new tab.
| Variant | Code |
|---|
| Primary | {{< button url="/" variant="primary" >}}Home{{< /button >}} |
| Secondary | {{< button url="/" variant="secondary" >}}Docs{{< /button >}} |
| Outline | {{< button url="/" variant="outline" >}}Learn More{{< /button >}} |
| With icon | {{< button url="https://github.com/adurrr/wavecast" icon="→" >}}View on GitHub{{< /button >}} |
Home
Docs
Learn More
→View on GitHub
Enhanced HTML5 <figure> with optional caption, lazy loading, and resource support.
A random image from Lorem Picsum.
Video
HTML5 <video> with optional poster and caption.
Big Buck Bunny sample video.
Tabs
CSS-only tabs (radio buttons). Useful for code examples in multiple languages, or any tabbed content.
Gallery
CSS grid of thumbnails. Wrap Markdown images. Anchor-wrapped images are clickable.
Carousel
CSS scroll-snap carousel with prev/next buttons. Each image becomes a slide.