Previously (0.9.22 and early) was included in the standard Cotonti package
Customizable support for BBCodes and smilies parsing. Adds BBCode parser support to the contents.
Authors: Cotonti Team
Github: https://github.com/Cotonti-Extensions/bbcode
BBCode ("Bulletin Board Code") is a lightweight markup language used to format messages in many Internet forum software. It was first introduced in 1998. The available "tags" of BBCode are usually indicated by square brackets ([ and ]) surrounding a keyword, and are parsed before being translated into HTML
BBCode | Example in HTML/CSS | Output |
---|---|---|
[b]bolded text[/b] | <strong>bolded text</strong> |
bolded text |
[i]italicized text[/i] | <em>italicized text</em> |
italicized text |
[u]underlined text[/u] | <span style="text-decoration: underline;">underlined text</span> |
underlined text |
[s]strikethrough text[/s] | <span style="text-decoration: line-through;">strikethrough text</span> |
|
[center]center align[/center] | <div style="text-align:center">center align</div> |
|
[right]right align[/right] | <div style="text-align:right">right align</div> |
|
[justify]justify align[/justify] | <div style="text-align:justify">justify align</div> |
|
[url=https://en.wikipedia.org]English Wikipedia[/url] | <a href="https://en.wikipedia.org">English Wikipedia</a> |
English Wikipedia |
[img]https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png[/img] | <img src="https://upload.wikimedia.org/wikipedia/commons/7/70/Example.png" /> |
![]() |
[spoiler]Text behind the spoiler[/spoiler] | ||
[hide]Text for authorized users[/hide] |
and much more...
All available bbcodes you can find in the plugin admin panel https://domaint.tld/admin.php?m=other&p=bbcode. You can also add your own ones.