Инструменты пользователя

Инструменты сайта


help:plaginy:html_details_tag_plugin

Это старая версия документа!


HTML Details Tag Plugin

This plugin enables the HTML tags <details> and <summary>, which hide content that can be made visible by clicking on the summary text. You can use this to hide spoilers or large content.

Edit

Installation

Install the plugin using the Plugin Manager and the download URL above, which points to latest version of the plugin. Refer to Plugins on how to install plugins manually.

Examples/Usage

<details>
<summary>Summary Text</summary>
Details Text
</details>

The above text results in:

IMAGE_PLACEHOLDER

After clicking the summary, the content is visible:

IMAGE_PLACEHOLDER

Edit

Syntax

  • The block to hide starts with <details> and ends with </details>.
    • If the content should be visible by default, use <details open> instead.
  • The first content element should be <summary>TEXT</summary>.
    • If left out, the summary text “Details” will be used instead.
  • The rest of the content will be invisible by default.

In short:

<details[ open]>
[<summary>SUMMARY<summary>]
CONTENT
</details>

Edit

Discussion

See discussion.

Edit

help/plaginy/html_details_tag_plugin.1696349352.txt.gz · Последние изменения: 2023/10/03 19:09 — werwolf