1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2024-11-23 18:17:20 +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:
{{{
```
<!-- This is a comment -->
}}}
```
\*/
(function(){

View File

@ -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(){

View File

@ -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(){

View File

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

View File

@ -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 `~`.

View File

@ -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(){

View File

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

View File

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

View File

@ -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(){

View File

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

View File

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

View File

@ -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(){

View File

@ -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(){

View File

@ -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.