Paragraphs
Paragraphs are separated by one blank line.
| Syntax | Output when rendered | |
|---|---|---|
| Mary did lambda And she did it good | → | Mary did lambda And she did it good |
Line breaks
Line breaks are converted to HTML breaks.
| Syntax | Output when rendered | |
|---|---|---|
| Mary did lambda And she did it good | → | Mary did lambda And she did it good |
HTML code
HTML is separated by a blank line. You can mix-in HTML inside AmiFormat syntax (as seen with the italic "nice").
| Syntax | Output when rendered | |
|---|---|---|
| This is a <i>nice</i>
paragraph. <b>Then some HTML code</b> | → | This is a nice paragraph. Then some HTML code |
Headings
To make a paragraph into a header, you use hn. Your text. Where n is a value from 1 to 6. A header should be followed by a blank line. h1 is big heading, while h6 is small.
| Syntax | Output when rendered | |
|---|---|---|
| h4. Test it This is a paragraph. | → | Test itThis is a paragraph. |
Lists
To make a list start a paragraph with "* ", where * is a star and is a space. To create more elements in the list separate the elements with a blank line.
| Syntax | Output when rendered | |
|---|---|---|
| * Item 1 * Item 2 | → |
|
Customizing text
You can use %(class) Text% to specify what class text belongs to. You can use %{attr: value} Text% to append attributes to text. Here are some examples:
| AmiFormat syntax | Output when rendered | |
|---|---|---|
| %(i) This is italic% | → | This is italic |
| %(b) This is bold% | → | This is bold |
| %(s) This is a strike% | → | |
| %(hl) I belong to highlight class% | → | I belong to highlight class |
| %{color: red} This is some red text% | → | This is some red text |
Code
Code is specificed by [code]Code[/code]. Special chars like < or > are going to be escaped.
| Syntax | Output when rendered | |
|---|---|---|
| [code]<b>Code</b>[/code] | → | <b>Code</b> |
Big chunks of HTML
If you insert big chunks of HTML you can use [escape]HTML code[/escape] to escape AmiFormats auto paragraphing.
| Syntax | Output when rendered | |
|---|---|---|
| [escape]BIG chunks of HTML[/escape] | → | BIG chunks of HTML |
Skeletonz uses simple syntax to show external data (i.e. data that is outside of the system).
Links
External links are specificed by "Text":(http://link.com).
| Syntax | Output when rendered | |
|---|---|---|
| "Google":(http://google.com) | → |
Images
External images are specificed by !http://link.com/image.gif(Image text)!.
| Syntax | Output when rendered | |
|---|---|---|
| !IMG_URL(Toolbar)! | → |
External images that link to something are specificed by
!http://link.com/image.gif(Image text)!:(http://link.com).
| Syntax | Output when rendered | |
|---|---|---|
| !IMG_URL(Toolbar)!:(http://google.com) | → |