This page is part of a static HTML representation of the TiddlyWiki at https://tiddlywiki.com/

Pragma: \whitespace

 21st September 2023 at 6:03pm

Introduced in v5.1.15 The \whitespace pragma determines how spaces and newlines are treated within wikitext.

  • notrim – whitespace text is not subject to special processing (the default)
  • trim – whitespace text is ignored

Note that the processing only applies to the printable text, and not to other text, such as the values of attributes.

The whitespace setting only applies to the parsed content in which it appears. The setting is inherited by embedded Procedure Definitions and Custom Widgets definitions, but is not inherited by Macro definitions.

\whitespace trim|notrim

For example:

\whitespace trim