FoF BBCode Details

by Friends of Flarum · Feature

Details BBCode for Flarum

13,546 downloads 3 stars v1.1.2 Updated

README

BBCode Details by FriendsOfFlarum

License Latest Stable Version

A Flarum extension. Details BBCode for Flarum. Original by @sijad.

Installation

Use Bazaar or install manually with composer:

composer require fof/bbcode-details

Updating

composer update fof/bbcode-details

Usage

Use the following BBCode in your posts:

[details="Summary text here"]Hidden content here[/details]
[details title="Summary text here"]Hidden content here[/details]
[details]Hidden content with no summary[/details]

You may optionally also provide the open= attribute to mark as open by default. The name= attribute may be used to provide a unique identifier for the details block (which can be used to only open one details block at a time in a group).

screenshot

Links

An extension by FriendsOfFlarum.