Ruoyi Plus
  • Ruoyi
  • Plus
  • Experience
  • Projects
  • About
  • 中文 (简体)
  • 中文 (繁體)
ESC

Searching...

No results found

↑↓ Navigate ↵ Select
Powered by Hugo Blox
  • Ruoyi
  • Plus
  • Experience
  • Projects
  • About
  • Hugo Blox
    • Getting Started
    • Guide
      • Project Structure
      • Configuration
      • Formatting
        • Embed Media
        • Buttons
        • Callouts
        • Cards
        • Spoilers
          • Example
          • Usage
        • Steps
    • Reference
      • Customization
      • Internationalization (i18n)
  • Hugo Blox
    • Getting Started
    • Guide
      • Project Structure
      • Configuration
      • Formatting
        • Embed Media
        • Buttons
        • Callouts
        • Cards
        • Spoilers
        • Steps
    • Reference
      • Customization
      • Internationalization (i18n)

On this page

  • Example
  • Usage
Courses
Hugo Blox
Guide
Formatting
Spoilers

A Hugo shortcode to toggle collapsible content.

Example

Click to view the spoiler

You found me!

Markdown is supported.

Usage

{{< spoiler text="Click to view the spoiler" >}}

This is the content of the details.

Markdown is **supported**.

{{< /spoiler >}}
docs

← Cards Jan 1, 0001
Steps Jan 1, 0001 →
Languages:
English
中文 (简体)
中文 (繁體)

© 2026 Ruoyi Plus. This work is licensed under CC BY NC ND 4.0

Made with Hugo Blox Kit. Build your site →

琼ICP备2026009046号