Article proposé
---------------
L'article "19. SPIP’s filters" est proposé à la publication.
Vous êtes invité à venir le consulter et à donner votre opinion
dans le forum qui lui est attaché. Il est disponible à l'adresse :
http://www.spip.net/ecrire/articles.php3?id_article=2114
** 19. SPIP’s filters **
par Paolo
In the article SPIP’s tags: the syntax we saw that it is possible to
modify the behaviour of tags and the way they display text by qualifying
them with filters.
[ optional text before (#TAG)|filter1|filter2|…|filtern) optional text
after ]
Filters 1, 2, …n are applied in succession to the #TAG.
Layout filters
majuscules coverts the text to upper-case. (Differs from the standard PHP
function strtoupper, in that majuscules also acts on letters with
accents.)
justifier justifies the text horizontally (equivalent to: <p
align=justify>).
aligner_droite aligns the text to the right (<p align=right>).
aligner_gauche (...)