SPIP Syntax
There are a few minor differences between SPIP's syntax and Glasnost's SPIP syntax.
- Paragraphs are separated by blank line(s)
- Subheading : {{{Subheading}}} or bold text alone on a line {{Sub-subheading}}
- Bold, Italic and Monospace :
- Bold : {{bold text}}
- Italic : {italic text}
- Monospace : ((monospace text))
- External Links :
- [->URL] or
- [link text->URL] or
- [link text|title attribute->URL]
- Internal Links :
- [->object id] where
- object may be article, rubric, file, person, group, election or alias ;
- id is the number of the object or its name if it has an alias.
- [link text->object integer]
- [link text|title attribute->object integer]
- [->object id] where
- Anchors for subheadings
- Including images :
- <image URL width*height> (external image)
- <image integer width*height> (image is file integer)
- Footnote : [[Footnote text]]
- Lists :
- Unordered List : items begin with a hyphen character - for the first logical level, and with a hyphen preceded by an appropriate number of space characters for sub-lists.
- Ordered List : items begin with -0. (hyphen zero dot), ..., -9., -a., -A., -i. or -I..
- Simple Table : |aaa|bbb|ccc|
- Horizontal rule : ----
- Literal block : <code> ... </code>
- Special characters :
- Line break : \n
- Non breaking space : ~
- Escape character : \
- Automatic non breaking spaces