Shortcodes Reference

Enhance your markdown with dynamic shortcodes.

Shortcodes

fddl supports shortcodes to add dynamic or complex HTML content to your markdown files without writing HTML.

Basic Syntax

Shortcodes are wrapped in tags.

  • Paired: content

  • Self-closing: or

Available Shortcodes

YouTube

Embed a YouTube video.

  • id: The YouTube video ID.

  • width: (Optional) Width in pixels.

  • height: (Optional) Height in pixels.

Image

Display an image with an optional caption.

A beautiful sunset
  • src: Image URL.

  • caption: (Optional) Text to display underneath.

  • alt: (Optional) Alt text.

  • width: (Optional) Width in pixels.

  • align: (Optional) Text alignment (left, center, right).

Alert

Create a styled callout box.

⚠️ Heads up! This is an important message.
  • type: info (default), warning, error, success.

  • title: (Optional) Bold title.

Counter (Retro)

A classic GeoCities-style visitor counter!

VISITORS: 21415
  • style: digital (default) or hidden.

Blink (Retro)

Make text blink like it’s 1996.

ATTENTION!

Marquee (Retro)

Scroll text across the screen.


Welcome to my website!

  • direction: left, right, up, down.

  • speed: slow, normal, fast.

Rainbow (Retro)

Make your text colorful.

This is FABULOUS!