Page 1 of 1

Custom BBcode available on this forum

Posted: 2011-08-31, 16:17
by Admin
Custom BBcode that is available on this forum:

Anchors:
[ anchor={anchor name} ] [ /anchor ]: Define an anchor for a link inside a post (large posts)
The text between the tags will be converted to an anchor with {anchor name} to be used with [ jumpto= ]
[ jumpto={anchor name} ] [ /jumpto ]: Provide a link to an elsewhere defined anchor

Example:

Code: Select all

[jumpto=explanation]Click here for a detailed explanation[/jumpto]
...
... More post content
...
[anchor=explanation]Detailed explanation[/anchor]
Hidden text:
[ hide ] Text to hide [ /hide ]
Hides the text (can include formatting, embedded code, even images!) in a collapsed box that can be opened by pressing a button... and closed again with the same button. Now new and improved with cleaner styling!

Example:

Code: Select all

[hide]I didn't want [b]you[/b] to see [i]this[/i] text just yet![/hide]
I didn't want you to see this text just yet!
Align/format text:
[ left ] Text to align [ /left ]
[ center ] Text to align [ /center ]
[ right ] Text to align [ /right ]
Aligns the text left, center or right, respectively. Note that this will cause paragraph spacing between the lines.
[ pre ] Preformatted/fixed width text [ /pre ]
[ s ] Strike-through text [ /s ]

Example:

Code: Select all

[left] Text to align [/left]
[center] Text to align [/center]
[right] Text to align [/right]
Have some [pre]preformatted/fixed width text[/pre] and [s]Struck-out text[/s].
Text to align
Text to align
Text to align
Have some preformatted/fixed width text and Struck-out text.

Subscript and superscript:
[ sub ] Subscript [ /sub ]
[ sup ] Superscript [ /sup ]

Example:

Code: Select all

Water is H[sub]2[/sub]O
That is Superdelicious[sup]TM[/sup]
Water is H2O
That is SuperdeliciousTM

Horizontal rule:
[ hr ] color [ /hr ]
Create a thin horizontal rule (line) with the color specified.

Example:

Code: Select all

[hr]red[/hr]
[hr]green[/hr]
[hr]blue[/hr]



Github Pale Moon repository issue:
[ issue ] issue number [ /issue ]

Example:

Code: Select all

The gradient color improvement is tracked by [issue]308[/issue].
The gradient color improvement is tracked by Issue #308.

GitHub issue in other MCP repo:
[ issue={repo} ] number [ /issue ]

Example:

Code: Select all

Removing the crash reporter: opened [issue=UXP]20[/issue].
Removing the crash reporter: opened Issue #20 (UXP).

Bugzilla bug:
[ bug ] bug number [ /bug ]

Example:

Code: Select all

Removing certificate exemptions in [bug]683449[/bug].
Removing certificate exemptions in bug #683449.

Highlight:
[ highlight ] text [ /highlight ]
[ highlight=COLOR ] text [ /highlight ]

Example:

Code: Select all

You can also [highlight]Highlight text![/highlight]
Or even in a [highlight=#FFD0D0]Custom Color![/highlight]
You can also Highlight text!
Or even in a Custom Color!

Re: Custom BBcode available on this forum

Posted: 2014-03-22, 09:52
by Moonchild
I've added OffTopic tags, to help keep things from derailing in topic threads. Good practice is if you want to respond to an off-topic remark in a way that could lead to further discussion, then please consider making a new thread.

If you have a "by-the-way remark", please enclose it in [ offtopic ] and [ /offtopic ] tags (you can do this easily in the editor by selecting the text and then clicking the "offtopic" button control in the bar above your editing area)

Code: Select all

[offtopic]This is off-topic for this thread![/offtopic]
Result:
Off-topic:
This is off-topic for this thread!