Tags, attributes and classes included in CMSList+ that adds or modifies the behaviour of a rendered content.
Image Class
cms-img - when added to an IMG class it will make the image responsive.
border - adds border to plain image or roll-up media image with caption via rollup-file shortcode.
CMS Roll-up Alignment
left - when added to an element, e.g. img, div or p, will align the element left w/ right padding of 10px and left 0.
right - when added to an element, e.g. img, div or p, will align the element right w/ left padding of 10px and right 0.
Static File Formatting
- These formatting tags when used in static files will change how the lines of texts are rendered. The tags must follow the tab indentation alignment in the sections and lists they're used.
Code blocks
Purpose: Implements the <PRE> tag wrapper on lines enclosed.
Usage: To start the code block, type the opening tag, {code}, in a single line. Mark the end of the code block by entering the closing tag, {/code}, in a new line. Indentations and blank lines are preserved.
{code}
...your code lines...
{/code}
Text blocks
Purpose: Enables free-formatting of text lines between these tags.
Usage: To start the text block, type the opening tag, {block}, in a single line. Mark the end of the text block by entering the closing tag, {/block}, in a new line. Blank lines are discarded. Lines within the block won't have to follow the tab indentation, since they'll automatically be adjusted to {block}.
{block}
...your lines...
{/block}
Table blocks
Purpose: Formats lines between the tags into a table.
Usage: To start the table block, type the opening tag, {table}. Any text before the tag will be included while trailing texts will be discarded. Mark the end of the table block by entering the closing tag, {/table}. Any text before the tag is discarded while trialing texts will be included. The first line immediately following the opening tag becomes the header, and is required. And the lines that follow until the closing tag will become the rows. Columns in a row is created using a single tab position. Each line must have the same number of tabs.
Options: Optional formatting attributes.
{table align=(right|center) title="<title text>" caption="<caption text>"}
align - aligns the table to the right or center of the page, default is left (when omitted).
title - table title, if provided will appear above the table. Must be enclosed in double quotes.
caption - table caption, if provided will appear below the table. Must be enclosed in double quotes.
{bold + right|center} - column formatting prefix to turn the whole column text bold and/or right or center justify.
- Prefix the column heading with this option to render the column bold and/or alright right or center.
Exmple:
{table align=center title="Fibers Per Serving" caption="Calorie count."}
{bold}Fruits {center}Calories {right}Fiber {right bold}Potassium
Apples 52 2.4g 107mg
Grapes 67 0.9g 191mg
Banana 89 2.6g 358mg
{/table}Becomes this...
Fibers Per Serving
Fruits Calories Fiber Potassium Apples 52 2.4g 107mg Grapes 67 0.9g 191mg Banana 89 2.6g 358mg Calorie count.
Note:
- For smaller screens, like mobile phones, only two columns of the table will be visible.
Highlight block
Purpose: Encloses the text between the tags with a stylized bordered box.
Usage: To start the boxed text, type the opening tag, {boxed} before the start of the sentence. Mark the end of the boxed text by entering the closing tag, {/boxed} after the last sentence. This tag is applied in-line to the text being emphasized.
Example:
Today's quote:{boxed}Will be revealed after these messages.{/boxed}
Becomes this...
Today's quote:Will be revealed after these messages.