transcendental-lisp/fitnesse/FitNesseRoot/FitNesse/UserGuide/FitNesseWiki/MarkupLanguageReference/MarkupPreformatted/content.txt

24 lines
780 B
Plaintext
Raw Normal View History

If you want a stretch of text that should be left alone then you can enclose that text in three braces as follows:
!-{{{-!{{{Text to be left alone}}}!-}}}-!
Between the braces no wiki words will be identified, no markup syntax will be decoded. The text will be displayed in mono font exactly as it was typed. We use this technique a lot for showing samples of fixture code:
{{{
import fit.ColumnFixture;
public class AddRemovePlayerFixture extends ColumnFixture {
public String playerName;
private Game theGame;
public boolean addPlayer() {
theGame = StaticGame.getInstance();
Player thePlayer = theGame.addPlayer(playerName);
return theGame.playerIsPlaying(thePlayer);
}
public int countPlayers() {
return theGame.getNumberOfPlayers();
}
} }}}