It is currently March 28th, 2024, 8:43 am

New [doc] bbcode for the forum

Discussions about the documentation, main Rainmeter site and forums.
Post Reply
User avatar
jsmorley
Developer
Posts: 22628
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

New [doc] bbcode for the forum

Post by jsmorley »

At the request of a couple of plugin authors, we have added a new bbcode to the forums to allow you to create a header block with left and right justified text, and a body text that can be anything you want, including other bbcodes as needed.

This is to allow you to create "documentation", much like what we use in the Rainmeter documentation now.

Doc displays a left header, right header (optional) and body.
Coloring the header background is also optional. The default is the blue used on the forums.

Usage: Note that we use ;; as the separator, to avoid conflicts with your actual text.

Code: Select all

[Doc]Left header;;Right header;;Body[/Doc]
[Doc]Left header;;Body[/Doc]
[Doc color=#ac003b]Left header;;Right header;;Body[/Doc]
So this:

Code: Select all

[doc]This is the left header;;This is the right header;;This is some body text with [size=150][color=#BF0000][Shadow]other bbcodes[/Shadow][/color][/size] embedded in it.
[/doc]
Gives you:
This is the left header;;This is the right header;;This is some body text with other bbcodes embedded in it.

And this:

Code: Select all

[doc color=#ac003b]This is the [color=#ffdbd2]left header[/color];;This is the [color=#ffdbd2]right header[/color];;This is some body text.[/doc]
Gives you:
This is the left header;;This is the right header;;This is some body text.
Post Reply