skeletonz - The simple Python CMS system

AmiFormat is used to format text. Here is the general syntax of AmiFormat:

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 it


This 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

  • 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% 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
Powered by Skeletonz