mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-26 03:27:18 +00:00
c5ea6628f5
Shout out to the TiddlySpot tiddler macro for being completely broken, but also being completely unused, so no one noticed.
36 lines
744 B
Plaintext
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> |