Attention !
Exemples de syntaxe wiki avancéeLa syntaxe wiki est généralement simple et utile. Cependant, il peut arriver qu'elle porte à confusion ou qu'il serait préférable d'utiliser le (X)HTML. La présente page vise à regrouper vos trucs et astuces permettant de tirer le maximum de la syntaxe wiki. Comment insérer un espace insécableEn (X)HTML, les codes ou   permettent d'insérer l'espace insécable, mais que faire dans une page wiki? Eh bien il suffit d'utiliser ~hs~ qui est un raccourci de "hard-space" : Copy to clipboard
La même sans l'espace insécable :
C'est ce qu'on cherche à éviter. Beaucoup de langues, dont le français, utilisent l'espace comme séparateur des milliers dans les nombres et comme séparateur entre le chiffre et le symbole de la devise. En français, certains symboles sont toujours précédés par l'espace insécable : :
À l'intérieur de guillemets, on doit trouver l'espace insécable après le guillemet ouvrant et avant le guillemet fermant. Veuillez noter qu'en français, on utilise les caractères suivants :
Le symbole " appartient à une autre culture (l'anglais).
Translation in progress.
How to get multiple lines in a table cellCopy to clipboard
How to make a bullet list in a table cell? (no solution yet)Doesn't look possible with current syntax...
Creating advanced tablesWould be nice to not have to resort to HTML when doing tables where you want to span columns or rows. Adding colspan/rowspan options and possibly also allowing individual cell alignment (vert and horiz) would be great. Even if this was relegated to something like FANCYTABLES, I'd be happy with it. SPLIT plugin work-aroundWould have to edit the plugin and/or CSS if you want a border, though.
Numbered lists which continue after some line breaksCopy to clipboard
generates:
Using + for item continuationAn alternative is to use + to continue numbering: Copy to clipboard
generates:
Using = with underline=== is the syntax for underline. This doesn't work: Copy to clipboard
Copy to clipboard
workaround number 2 Copy to clipboard
Allowing Formatting characters to span paragraphsWhen you use :: or '' or similar formatting tags, at leat in 1.9 (haven't tried in 1.10) they don't get recognized. Instead you see the beginning characters, then the paragraph, then the paragraph space, then the continuation of the next paragraph ending with the closing characters. ''This doesn't
::Irritating when you want to center
every line with ::
kerrnel22 learns
something new every day! Thanks ricks!
Use %%% to break lines within formattingFor example: This does Not so irritating when you want to center
text across multiple lines without bracketing every line with ::
Wrap code Sections to Fit the WindowNot sure if this is something browser-specific or Tiki-specific (I think it's both), but when you put really long lines inside CODE blocks they tend to run off the right side of the page and completely mess up the pagescape. It would be nice, based on the size of the window (and therefore the size of the middle content box) to wrap the CODE text at the right margin of the middle box. Having said that, when using CODE blocks on a printer-friendly page, they don't get wrapped there, even when you send it to the printer. I think that's a browser issue. But we should be able to address the wiki page issue? Solution is easy: use wrap=1 parameter in CODE plugin
Liens utiles
|