mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2024-11-18 07:44:51 +00:00
f575389d89
* return all wikiparserrules w/o operand * simpler layout & code / updated instruction details Also wanted to link each rule to the official docs using a dictionary at `$:/language/Docs/ParserRules/`. However, without #2194 this is not doable.
33 lines
693 B
Plaintext
33 lines
693 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)
|
|
<$checkbox
|
|
tiddler="""$:/config/WikiParserRules/$Type$/$(rule)$"""
|
|
field="text"
|
|
checked="enable"
|
|
unchecked="disable"
|
|
default="enable">
|
|
<<rule>>
|
|
</$checkbox>
|
|
\end
|
|
|
|
\define rules(type,Type)
|
|
<$list filter="[wikiparserrules[$type$]]" variable="rule">
|
|
<dd><<toggle $Type$>></dd>
|
|
</$list>
|
|
\end
|
|
|
|
<<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> |