diff --git a/core/modules/parsers/wikiparser/rules/comment.js b/core/modules/parsers/wikiparser/rules/comment.js index 4609753bc..5e16dcaed 100644 --- a/core/modules/parsers/wikiparser/rules/comment.js +++ b/core/modules/parsers/wikiparser/rules/comment.js @@ -5,9 +5,9 @@ module-type: wikirule Wiki text inline rule for HTML comments. For example: -{{{ +``` -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/dash.js b/core/modules/parsers/wikiparser/rules/dash.js index 79401a368..8bfc8bcb7 100644 --- a/core/modules/parsers/wikiparser/rules/dash.js +++ b/core/modules/parsers/wikiparser/rules/dash.js @@ -5,11 +5,11 @@ module-type: wikirule Wiki text inline rule for dashes. For example: -{{{ +``` This is an en-dash: -- This is an em-dash: --- -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/emphasis.js b/core/modules/parsers/wikiparser/rules/emphasis.js index 7a9e9effb..5950efbbe 100644 --- a/core/modules/parsers/wikiparser/rules/emphasis.js +++ b/core/modules/parsers/wikiparser/rules/emphasis.js @@ -5,7 +5,7 @@ module-type: wikirule Wiki text inline rule for emphasis. For example: -{{{ +``` This is ''bold'' text This is //italic// text @@ -17,7 +17,7 @@ Wiki text inline rule for emphasis. For example: This is ,,subscript,, text This is ~~strikethrough~~ text -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/entity.js b/core/modules/parsers/wikiparser/rules/entity.js index f881715ac..dc3917daf 100644 --- a/core/modules/parsers/wikiparser/rules/entity.js +++ b/core/modules/parsers/wikiparser/rules/entity.js @@ -5,9 +5,9 @@ module-type: wikirule Wiki text inline rule for HTML entities. For example: -{{{ +``` This is a copyright symbol: © -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/extlink.js b/core/modules/parsers/wikiparser/rules/extlink.js index 5c6aa799f..19af88241 100644 --- a/core/modules/parsers/wikiparser/rules/extlink.js +++ b/core/modules/parsers/wikiparser/rules/extlink.js @@ -5,11 +5,11 @@ module-type: wikirule Wiki text inline rule for external links. For example: -{{{ +``` An external link: http://www.tiddlywiki.com/ A suppressed external link: ~http://www.tiddlyspace.com/ -}}} +``` External links can be suppressed by preceding them with `~`. diff --git a/core/modules/parsers/wikiparser/rules/list.js b/core/modules/parsers/wikiparser/rules/list.js index 1778851a2..9cbe755f2 100644 --- a/core/modules/parsers/wikiparser/rules/list.js +++ b/core/modules/parsers/wikiparser/rules/list.js @@ -5,7 +5,7 @@ module-type: wikirule Wiki text block rule for lists. For example: -{{{ +``` * This is an unordered list * It has two items @@ -15,11 +15,11 @@ Wiki text block rule for lists. For example: ; This is a term that is being defined : This is the definition of that term -}}} +``` Note that lists can be nested arbitrarily: -{{{ +``` #** One #* Two #** Three @@ -29,15 +29,15 @@ Note that lists can be nested arbitrarily: ## Seven ### Eight ## Nine -}}} +``` A CSS class can be applied to a list item as follows: -{{{ +``` * List item one *.active List item two has the class `active` * List item three -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/macrocallblock.js b/core/modules/parsers/wikiparser/rules/macrocallblock.js index e39815710..be9566dd5 100644 --- a/core/modules/parsers/wikiparser/rules/macrocallblock.js +++ b/core/modules/parsers/wikiparser/rules/macrocallblock.js @@ -5,9 +5,9 @@ module-type: wikirule Wiki rule for block macro calls -{{{ +``` <> -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/macrocallinline.js b/core/modules/parsers/wikiparser/rules/macrocallinline.js index 4d891804f..66e0a9c6c 100644 --- a/core/modules/parsers/wikiparser/rules/macrocallinline.js +++ b/core/modules/parsers/wikiparser/rules/macrocallinline.js @@ -5,9 +5,9 @@ module-type: wikirule Wiki rule for macro calls -{{{ +``` <> -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/macrodef.js b/core/modules/parsers/wikiparser/rules/macrodef.js index 3b94356c2..3545d7ed8 100644 --- a/core/modules/parsers/wikiparser/rules/macrodef.js +++ b/core/modules/parsers/wikiparser/rules/macrodef.js @@ -5,11 +5,11 @@ module-type: wikirule Wiki pragma rule for macro definitions -{{{ +``` /define name(param:defaultvalue,param2:defaultvalue) definition text, including $param$ markers /end -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/prettylink.js b/core/modules/parsers/wikiparser/rules/prettylink.js index 6b4dfcee5..11432963a 100644 --- a/core/modules/parsers/wikiparser/rules/prettylink.js +++ b/core/modules/parsers/wikiparser/rules/prettylink.js @@ -5,11 +5,11 @@ module-type: wikirule Wiki text inline rule for pretty links. For example: -{{{ +``` [[Introduction]] [[Link description|TiddlerTitle]] -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/rule.js b/core/modules/parsers/wikiparser/rules/rule.js index 5ceccd3c5..be68aa363 100644 --- a/core/modules/parsers/wikiparser/rules/rule.js +++ b/core/modules/parsers/wikiparser/rules/rule.js @@ -5,9 +5,9 @@ module-type: wikirule Wiki text block rule for rules. For example: -{{{ +``` --- -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/transcludeblock.js b/core/modules/parsers/wikiparser/rules/transcludeblock.js index cdcb664c3..b8eda0831 100644 --- a/core/modules/parsers/wikiparser/rules/transcludeblock.js +++ b/core/modules/parsers/wikiparser/rules/transcludeblock.js @@ -5,11 +5,11 @@ module-type: wikirule Wiki text rule for block-level transclusion. For example: -{{{ +``` {{MyTiddler}} {{MyTiddler|tooltip}} {{MyTiddler}width:40;height:50;}.class.class -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/transcludeinline.js b/core/modules/parsers/wikiparser/rules/transcludeinline.js index 3a9bff8bc..6ea1759e7 100644 --- a/core/modules/parsers/wikiparser/rules/transcludeinline.js +++ b/core/modules/parsers/wikiparser/rules/transcludeinline.js @@ -5,11 +5,11 @@ module-type: wikirule Wiki text rule for inline-level transclusion. For example: -{{{ +``` {{MyTiddler}} {{MyTiddler|tooltip}} {{MyTiddler}width:40;height:50;}.class.class -}}} +``` \*/ (function(){ diff --git a/core/modules/parsers/wikiparser/rules/wikilink.js b/core/modules/parsers/wikiparser/rules/wikilink.js index 4d373ce2b..45f077f2a 100644 --- a/core/modules/parsers/wikiparser/rules/wikilink.js +++ b/core/modules/parsers/wikiparser/rules/wikilink.js @@ -5,11 +5,11 @@ module-type: wikirule Wiki text inline rule for wiki links. For example: -{{{ +``` AWikiLink AnotherLink ~SuppressedLink -}}} +``` Precede a camel case word with `~` to prevent it from being recognised as a link.