Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/FriendsOfFlarum/bbcode-tabs

Add tabs to your posts by using BBCode tags
https://github.com/FriendsOfFlarum/bbcode-tabs

Last synced: about 9 hours ago
JSON representation

Add tabs to your posts by using BBCode tags

Awesome Lists containing this project

README

        

# BBCode Tabs by FriendsOfFlarum

![License](https://img.shields.io/badge/license-MIT-blue.svg) [![Latest Stable Version](https://img.shields.io/packagist/v/fof/bbcode-tabs.svg)](https://packagist.org/packages/fof/bbcode-tabs) [![OpenCollective](https://img.shields.io/badge/opencollective-fof-blue.svg)](https://opencollective.com/fof/donate) [![Donate](https://img.shields.io/badge/donate-datitisev-important.svg)](https://datitisev.me/donate)

A [Flarum](http://flarum.org) extension. Add tabs to your posts by using BBCode tags.

### Usage

```bbcode
[tabs]
[tab="hi"]Hi[/tab]
[tab="hello"]Hello[/tab]
[/tabs]
```

To make a tag active by default:

```bbcode
[tab="[NAME]" active="[ANYTHING]"]...[/tab]
[tab name="[NAME]" active="[ANYTHING]"]...[/tab]
```

### Installation

Install with composer:

```sh
composer require fof/bbcode-tabs:"*"
```

### Updating

```sh
composer update fof/bbcode-tabs
```

### Links

[](https://opencollective.com/fof/donate)
[](https://patreon.com/datitisev)

- [Packagist](https://packagist.org/packages/fof/bbcode-tabs)
- [GitHub](https://github.com/FriendsOfFlarum/bbcode-tabs)

An extension by [FriendsOfFlarum](https://github.com/FriendsOfFlarum).