mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-12-29 19:40:28 +00:00
36 lines
783 B
Plaintext
36 lines
783 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">
|
|
<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> |