1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-08 19:09:57 +00:00
TiddlyWiki5/editions/tw5.com/tiddlers/pragmas/Pragma_ _rules.tid
jeremy@jermolene.com 55e38eb89a Update modification times of doc tiddlers
So that they are at the top of the recent tab
2023-04-19 11:32:34 +01:00

25 lines
637 B
Plaintext

created: 20220917112931273
modified: 20230419103154329
tags: Pragmas
title: Pragma: \rules
type: text/vnd.tiddlywiki
The ''\rules'' [[pragma|Pragmas]] adjusts the set of parser rules used to parse the remaining text.
```
\rules only|expect <rule-list>
```
The list of available parser rules can be consulted in $:/ControlPanel -> Info -> Advanced -> Parsing.
For example, in stylesheets it is typical to only use the rules associated with macros and transclusions:
```
\rules only filteredtranscludeinline transcludeinline macrodef macrocallinline
```
Some users prefer not to use CamelCase links:
```
\rules except prettylink
```