mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-17 07:14:50 +00:00
17 lines
608 B
Plaintext
17 lines
608 B
Plaintext
created: 20150219175930000
|
|
modified: 20150221215112000
|
|
tags: Concepts
|
|
title: Pragma
|
|
type: text/vnd.tiddlywiki
|
|
|
|
A <<.def pragma>> is a special component of WikiText that provides control over the way the remaining text is parsed.
|
|
|
|
Pragmas occupy lines that start with `\`. They can only appear at the start of the text, but blank lines are allowed between them. If a pragma line appears in the main body of the text, it is treated as if it was ordinary text.
|
|
|
|
The following pragmas are available:
|
|
|
|
;`\define`
|
|
: for defining a [[macro|Macros]]
|
|
;`\rules`
|
|
: for adjusting the set of rules used to parse the text
|