1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-17 23:34:50 +00:00
TiddlyWiki5/core/ui/ControlPanel/Parsing.tid
Cameron Fischer c5ea6628f5
Trim Saga: Control panel and Editor Toolbar (#6600)
Shout out to the TiddlySpot tiddler macro for being completely broken, but also being completely unused, so no one noticed.
2022-04-06 08:27:05 +01:00

36 lines
744 B
Plaintext

title: $:/core/ui/ControlPanel/Parsing
tags: $:/tags/ControlPanel/Advanced
caption: {{$:/language/ControlPanel/Parsing/Caption}}
\define lingo-base() $:/language/ControlPanel/Parsing/
\define toggle(Type)
\whitespace trim
<$checkbox
tiddler="""$:/config/WikiParserRules/$Type$/$(rule)$"""
field="text"
checked="enable"
unchecked="disable"
default="enable">
<<rule>>
</$checkbox>
\end
\define rules(type,Type)
\whitespace trim
<$list filter="[wikiparserrules[$type$]]" variable="rule">
<dd><<toggle $Type$>></dd>
</$list>
\end
\whitespace trim
<<lingo Hint>>
<dl>
<dt><<lingo Pragma/Caption>></dt>
<<rules pragma Pragma>>
<dt><<lingo Inline/Caption>></dt>
<<rules inline Inline>>
<dt><<lingo Block/Caption>></dt>
<<rules block Block>>
</dl>