It is currently September 21st, 2019, 1:40 am

New [doc] bbcode for the forum

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

New [doc] bbcode for the forum

jsmorley » October 19th, 2018, 5:24 pm

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=#Color]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.