Use Figlet for ASCII-art Headers
mainThe figlet option turns slide headers into ASCII-art banners. You can specify different fonts and colors.
Figlet Fonts
The default font is ANSI Shadow. Supported fonts include:
ANSI Shadow, standard, slant, big, small, mini, smslant, block, doom, epic, graffiti, fraktur, roman, gothic, speed, script.
Figlet Colors
Use figlet_color to set a single color or a gradient:
- Single Color:
<!-- figlet_color: ff0000 -->(Hex code) - Horizontal Gradient:
<!-- figlet_color: ffff66,3388ff -->(Comma-separated hex codes) - Vertical Gradient:
<!-- figlet_color: ffff66,3388ff y -->(Addysuffix)
Figlet on Web
To control how Figlet is rendered on web/mobile devices, use the figlet_web option:
figlet_web: image: Converts headings to images (recommended for small screens).figlet_web: text: Shows raw ASCII text.figlet_web: original: Disables figlet.
<!-- figlet: slant -->
<!-- figlet_color: ff0000,00ffff -->