-
Notifications
You must be signed in to change notification settings - Fork 48
BB‐Codes
Heiko August edited this page Mar 17, 2024
·
3 revisions
My Little Forum provides a number of BB-Codes. One has to activate the conversion of BB-Code in the forum settings with setting bbcode
to 1
. This enables a set of basic BB-Codes for formatting text and insert links in the entries with an additional linktext. Some further BB-Codes are hidden behind additional settings.
For some of the BB-Codes the forum software provides a UI to insert them in the posting text. The UI provides the necessary buttons and displays them beside the text area to insert the posting text. There is currently no similar UI for the signature form.
-
[b][/b]
for bold text -
[i][/i]
for italic text -
[u][/u]
for underlined text -
[link][/link]
or[url][/url]
for links,
use it as[link]URL[/link]
or[link=URL]linktext[/link]
(or with[url]
instead of[link]
) -
[ins][/ins]
for marking subsequently inserted text, introduced with PR #699 -
[del][/del]
for marking subsequently deleted text, introduced with PR #699 -
[s][/s]
for marking text with a strike through line (similar to[del]
), introduced with PR #699
-
[code][/code]
for codeblocks,
it's possible to add a coding language to the opening tag, in example[code=html]
(has to be activated sel -
[inlinecode][/inlinecode]
for code snippets like$variable = value;
inside a text block
-
[color=#963][/color]
for coloured text with a set of allowed colours (link to the status of version 20220803.1).
-
[img]URL[/img]
for displaying an image -
[img=left]URL[/img]
for displaying an image, text content floating around on the right side of the image -
[img=right]URL[/img]
for displaying an image, text content floating around on the left side of the image -
[img=thumbnail]URL[/img]
for displaying thumbnail of an image -
[img=thumbnail-left]URL[/img]
for displaying thumbnail of an image, text content floating around on the right side of the image -
[img=thumbnail-right]URL[/img]
for displaying thumbnail of an image, text content floating around on the left side of the image
-
[size=small][/size]
for text with a smaller font size than the default text -
[size=large][/size]
for text with a larger font size than the default text
- [tex]formula[/tex] for mathematic and scientific formulas