1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-08-08 14:55:17 +00:00

Switch code block syntax

This commit is contained in:
Jeremy Ruston 2012-12-22 23:09:44 +00:00
parent 8f85ef94a6
commit 982b6a8773
14 changed files with 32 additions and 32 deletions

View File

@ -5,9 +5,9 @@ module-type: wikirule
Wiki text inline rule for HTML comments. For example: Wiki text inline rule for HTML comments. For example:
{{{ ```
<!-- This is a comment --> <!-- This is a comment -->
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,11 +5,11 @@ module-type: wikirule
Wiki text inline rule for dashes. For example: Wiki text inline rule for dashes. For example:
{{{ ```
This is an en-dash: -- This is an en-dash: --
This is an em-dash: --- This is an em-dash: ---
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,7 +5,7 @@ module-type: wikirule
Wiki text inline rule for emphasis. For example: Wiki text inline rule for emphasis. For example:
{{{ ```
This is ''bold'' text This is ''bold'' text
This is //italic// text This is //italic// text
@ -17,7 +17,7 @@ Wiki text inline rule for emphasis. For example:
This is ,,subscript,, text This is ,,subscript,, text
This is ~~strikethrough~~ text This is ~~strikethrough~~ text
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,9 +5,9 @@ module-type: wikirule
Wiki text inline rule for HTML entities. For example: Wiki text inline rule for HTML entities. For example:
{{{ ```
This is a copyright symbol: &copy; This is a copyright symbol: &copy;
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,11 +5,11 @@ module-type: wikirule
Wiki text inline rule for external links. For example: Wiki text inline rule for external links. For example:
{{{ ```
An external link: http://www.tiddlywiki.com/ An external link: http://www.tiddlywiki.com/
A suppressed external link: ~http://www.tiddlyspace.com/ A suppressed external link: ~http://www.tiddlyspace.com/
}}} ```
External links can be suppressed by preceding them with `~`. External links can be suppressed by preceding them with `~`.

View File

@ -5,7 +5,7 @@ module-type: wikirule
Wiki text block rule for lists. For example: Wiki text block rule for lists. For example:
{{{ ```
* This is an unordered list * This is an unordered list
* It has two items * 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 a term that is being defined
: This is the definition of that term : This is the definition of that term
}}} ```
Note that lists can be nested arbitrarily: Note that lists can be nested arbitrarily:
{{{ ```
#** One #** One
#* Two #* Two
#** Three #** Three
@ -29,15 +29,15 @@ Note that lists can be nested arbitrarily:
## Seven ## Seven
### Eight ### Eight
## Nine ## Nine
}}} ```
A CSS class can be applied to a list item as follows: A CSS class can be applied to a list item as follows:
{{{ ```
* List item one * List item one
*.active List item two has the class `active` *.active List item two has the class `active`
* List item three * List item three
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,9 +5,9 @@ module-type: wikirule
Wiki rule for block macro calls Wiki rule for block macro calls
{{{ ```
<<name value value2>> <<name value value2>>
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,9 +5,9 @@ module-type: wikirule
Wiki rule for macro calls Wiki rule for macro calls
{{{ ```
<<name value value2>> <<name value value2>>
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,11 +5,11 @@ module-type: wikirule
Wiki pragma rule for macro definitions Wiki pragma rule for macro definitions
{{{ ```
/define name(param:defaultvalue,param2:defaultvalue) /define name(param:defaultvalue,param2:defaultvalue)
definition text, including $param$ markers definition text, including $param$ markers
/end /end
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,11 +5,11 @@ module-type: wikirule
Wiki text inline rule for pretty links. For example: Wiki text inline rule for pretty links. For example:
{{{ ```
[[Introduction]] [[Introduction]]
[[Link description|TiddlerTitle]] [[Link description|TiddlerTitle]]
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,9 +5,9 @@ module-type: wikirule
Wiki text block rule for rules. For example: Wiki text block rule for rules. For example:
{{{ ```
--- ---
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,11 +5,11 @@ module-type: wikirule
Wiki text rule for block-level transclusion. For example: Wiki text rule for block-level transclusion. For example:
{{{ ```
{{MyTiddler}} {{MyTiddler}}
{{MyTiddler|tooltip}} {{MyTiddler|tooltip}}
{{MyTiddler}width:40;height:50;}.class.class {{MyTiddler}width:40;height:50;}.class.class
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,11 +5,11 @@ module-type: wikirule
Wiki text rule for inline-level transclusion. For example: Wiki text rule for inline-level transclusion. For example:
{{{ ```
{{MyTiddler}} {{MyTiddler}}
{{MyTiddler|tooltip}} {{MyTiddler|tooltip}}
{{MyTiddler}width:40;height:50;}.class.class {{MyTiddler}width:40;height:50;}.class.class
}}} ```
\*/ \*/
(function(){ (function(){

View File

@ -5,11 +5,11 @@ module-type: wikirule
Wiki text inline rule for wiki links. For example: Wiki text inline rule for wiki links. For example:
{{{ ```
AWikiLink AWikiLink
AnotherLink AnotherLink
~SuppressedLink ~SuppressedLink
}}} ```
Precede a camel case word with `~` to prevent it from being recognised as a link. Precede a camel case word with `~` to prevent it from being recognised as a link.