oe800 / flarum-ext-bbcode-pastebin
Embed pastebin inside Flarum post.
Installs: 467
Dependents: 0
Suggesters: 0
Security: 0
Stars: 3
Watchers: 2
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.6
This package is not auto-updated.
Last update: 2024-11-01 19:49:49 UTC
README
BBCode Pastebin Embed Extension
Embeds the paste into the Flarum post. Respects the exposure and expiration settings for the paste. A notice is provided if the paste expires (or is deleted) or if the paste is private. Displays the proper formatting when syntax highlighting is used.
Install:
composer require oe800/flarum-ext-bbcode-pastebin
Usage:
For small pastes (about 7 lines)
[pastebin]{Pastecode}[/pastebin]
For medium pastes (about 30 lines)
[pastebinm]{Pastecode}[/pastebinm]
For larger pastes (42 + lines)
[pastebinl]{Pastecode}[/pastebinl]
Examples:
Smaller Paste:
Medium Paste:
Larger Paste: