Custom BBcode available on this forum

About this bulletin board and the Pale Moon website

Moderators: FranklinDM, Lootyhoof

User avatar
Admin
Site Admin
Site Admin
Posts: 405
Joined: 2012-05-17, 19:06

Custom BBcode available on this forum

Unread post by Admin » 2011-08-31, 16:17

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!
Last edited by Moonchild on 2018-06-16, 01:02, edited 5 times in total.
Did you know that moral outrage triggers the pleasure centers of the brain? It's unlikely you can actually get addicted to outrage, but there is plausible evidence that you can become strongly predisposed to it.
Source: https://www.bbc.co.uk/programmes/p002w557/episodes/downloads - "The cooperative species" and "Behaving better online"
Image

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35404
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: Custom BBcode available on this forum

Unread post by Moonchild » 2014-03-22, 09:52

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!
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked