BBcode Parser plugin for CMF Cotonti. Customizable support for BBCodes and smilies parsing. Adds BBCode parser support to the contents.
Authors: Cotonti Team
Plugin page: https://www.cotonti.com/extensions/editor-parser/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
- Unpack to your plugins folder
- Install the plugin in Administration panel
- Set default markup parser in site settings: https://domaint.tld/admin.php?m=config&n=edit&o=core&p=main or for pages module: https://domaint.tld/admin.php?m=config&n=edit&o=module&p=page
- Optionally install the markItUp! editor with bbcode support
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> |
|
[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.