Page 1 of 1

New [doc] bbcode for the forum

Posted: October 19th, 2018, 5:24 pm
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.