1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-12-04 23:39:57 +00:00
TiddlyWiki5/core/ui/ControlPanel/Parsing.tid

36 lines
783 B
Plaintext
Raw Normal View History

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">
<span class="tc-small-gap-left"><<rule>></span>
</$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>