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

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


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

  • Блок, который нужно скрыть, начинается с <details> и заканчивается </details>.
    • Если контент должен быть видимым по умолчанию <details open>.
  • Для указания заголовка пишите <summary>TEXT</summary>.
    • Если он не будет указан вместо этого будет использоваться краткий текст “Details”.
  • Остальная часть содержимого будет невидима по умолчанию.

In short:

<details[ open]>
[<summary>SUMMARY<summary>]
CONTENT
</details>
help/plaginy/html_details_tag_plugin.1696349529.txt.gz · Последние изменения: 2023/10/03 19:12 — werwolf