| | Version at: 11/02/2014, 13:07 vs. version at: 11/02/2014, 13:09 |
---|
1 | 1 | # Sandbox |
---|
2 | 2 | |
---|
3 | 3 | Use this page to experiment with wiki markup. |
---|
4 | 4 | |
---|
| 5 | ## Bulleted lists ## |
---|
5 | 6 | Nested bulleted list: |
---|
6 | 7 | |
---|
7 | 8 | * a |
---|
8 | 9 | * a.b |
---|
9 | 10 | * a.b.c |
---|
10 | 11 | * a.v |
---|
11 | 12 | * z |
---|
12 | 13 | |
---|
13 | 14 | Another list where there are two spaces for each level of indentation: |
---|
14 | 15 | |
---|
15 | 16 | * a |
---|
16 | 17 | * a.b |
---|
17 | 18 | * a.b.c |
---|
18 | 19 | * a.v |
---|
| 20 | * z |
---|
| 21 | |
---|
| 22 | and one where there are four spaces for each level of indentation: |
---|
| 23 | |
---|
| 24 | * a |
---|
| 25 | * a.b |
---|
| 26 | * a.b.c |
---|
| 27 | * a.v |
---|
19 | 28 | * z |
---|
20 | 29 | |
---|
21 | 30 | |
---|
22 | 31 | Code sample (note that the format differs between preview mode and final presentation): |
---|
23 | 32 | |
---|
24 | 33 | ` |
---|
25 | 34 | if (a) |
---|
26 | 35 | b |
---|
27 | 36 | else |
---|
28 | 37 | c |
---|
29 | 38 | ` |
---|
30 | 39 | |
---|
31 | 40 | Bookmarklet test: |
---|
32 | 41 | |
---|
33 | 42 | [test][1] |
---|
34 | 43 | |
---|
35 | 44 | [1]: javascript:var%20p=Math.floor((Math.random()*100)+1);location.href=%22http://tatoeba.org/eng/sentences/show_all_in/epo/und/eng/indifferent/page:%22+p; |
---|
36 | 45 | |
---|
37 | 46 | |
---|
38 | 47 | Second bookmarklet test: |
---|
39 | 48 | |
---|
40 | 49 | [test 2a](javascript:var%20u%20=%20%22%22;var%20e=window.prompt%28%22Enter%20URL%20or%20number%20of%22+%22%20sentence%20to%20link%20to%20this%20one%22,%22%22%29;if%28e!=null%29{var%20r=/%28http:\/\/%5B^\/%5D+\/%5Ba-z%5D{3}\/%29?%28sentences\/show\/%29?%28%5B1-9%5D%5B0-9%5D%29%28#.%29?/;var%20em=e.match%28r%29;if%28em!=null%29{var%20h=location.href;var%20hm=h.match%28r%29;u=hm%5B1%5D+%22links/add/%22+hm%5B3%5D+%22/%22+em%5B3%5D;location.href=u;}else{alert%28%22Invalid%20input.%22%29};}) |
---|
41 | 50 | |
---|
42 | 51 | Second bookmarklet test: |
---|
43 | 52 | |
---|
44 | 53 | [test 2][2] |
---|
45 | 54 | |
---|
46 | 55 | [2]: |
---|
47 | 56 | javascript:var%20u%20=%20%22%22;var%20e=window.prompt%28%22Enter%20URL%20or%20number%20of%22+%22%20sentence%20to%20link%20to%20this%20one%22,%22%22%29;if%28e!=null%29{var%20r=/%28http:\/\/%5B^\/%5D+\/%5Ba-z%5D{3}\/%29?%28sentences\/show\/%29?%28%5B1-9%5D%5B0-9%5D%29%28#.%29?/;var%20em=e.match%28r%29;if%28em!=null%29{var%20h=location.href;var%20hm=h.match%28r%29;u=hm%5B1%5D+%22links/add/%22+hm%5B3%5D+%22/%22+em%5B3%5D;location.href=u;}else{alert%28%22Invalid%20input.%22%29};} |
---|
diff view generated by jsdifflib |
---|
Version at: 11/02/2014, 13:07
# Sandbox
Use this page to experiment with wiki markup.
Nested bulleted list:
* a
* a.b
* a.b.c
* a.v
* z
Another list where there are two spaces for each level of indentation:
* a
* a.b
* a.b.c
* a.v
* z
Code sample (note that the format differs between preview mode and final presentation):
`
if (a)
b
else
c
`
Bookmarklet test:
[test][1]
[1]: javascript:var%20p=Math.floor((Math.random()*100)+1);location.href=%22http://tatoeba.org/eng/sentences/show_all_in/epo/und/eng/indifferent/page:%22+p;
Second bookmarklet test:
[test 2a](javascript:var%20u%20=%20%22%22;var%20e=window.prompt%28%22Enter%20URL%20or%20number%20of%22+%22%20sentence%20to%20link%20to%20this%20one%22,%22%22%29;if%28e!=null%29{var%20r=/%28http:\/\/%5B^\/%5D+\/%5Ba-z%5D{3}\/%29?%28sentences\/show\/%29?%28%5B1-9%5D%5B0-9%5D%29%28#.%29?/;var%20em=e.match%28r%29;if%28em!=null%29{var%20h=location.href;var%20hm=h.match%28r%29;u=hm%5B1%5D+%22links/add/%22+hm%5B3%5D+%22/%22+em%5B3%5D;location.href=u;}else{alert%28%22Invalid%20input.%22%29};})
Second bookmarklet test:
[test 2][2]
[2]:
javascript:var%20u%20=%20%22%22;var%20e=window.prompt%28%22Enter%20URL%20or%20number%20of%22+%22%20sentence%20to%20link%20to%20this%20one%22,%22%22%29;if%28e!=null%29{var%20r=/%28http:\/\/%5B^\/%5D+\/%5Ba-z%5D{3}\/%29?%28sentences\/show\/%29?%28%5B1-9%5D%5B0-9%5D%29%28#.%29?/;var%20em=e.match%28r%29;if%28em!=null%29{var%20h=location.href;var%20hm=h.match%28r%29;u=hm%5B1%5D+%22links/add/%22+hm%5B3%5D+%22/%22+em%5B3%5D;location.href=u;}else{alert%28%22Invalid%20input.%22%29};}
version at: 11/02/2014, 13:09
# Sandbox
Use this page to experiment with wiki markup.
## Bulleted lists ##
Nested bulleted list:
* a
* a.b
* a.b.c
* a.v
* z
Another list where there are two spaces for each level of indentation:
* a
* a.b
* a.b.c
* a.v
* z
and one where there are four spaces for each level of indentation:
* a
* a.b
* a.b.c
* a.v
* z
Code sample (note that the format differs between preview mode and final presentation):
`
if (a)
b
else
c
`
Bookmarklet test:
[test][1]
[1]: javascript:var%20p=Math.floor((Math.random()*100)+1);location.href=%22http://tatoeba.org/eng/sentences/show_all_in/epo/und/eng/indifferent/page:%22+p;
Second bookmarklet test:
[test 2a](javascript:var%20u%20=%20%22%22;var%20e=window.prompt%28%22Enter%20URL%20or%20number%20of%22+%22%20sentence%20to%20link%20to%20this%20one%22,%22%22%29;if%28e!=null%29{var%20r=/%28http:\/\/%5B^\/%5D+\/%5Ba-z%5D{3}\/%29?%28sentences\/show\/%29?%28%5B1-9%5D%5B0-9%5D%29%28#.%29?/;var%20em=e.match%28r%29;if%28em!=null%29{var%20h=location.href;var%20hm=h.match%28r%29;u=hm%5B1%5D+%22links/add/%22+hm%5B3%5D+%22/%22+em%5B3%5D;location.href=u;}else{alert%28%22Invalid%20input.%22%29};})
Second bookmarklet test:
[test 2][2]
[2]:
javascript:var%20u%20=%20%22%22;var%20e=window.prompt%28%22Enter%20URL%20or%20number%20of%22+%22%20sentence%20to%20link%20to%20this%20one%22,%22%22%29;if%28e!=null%29{var%20r=/%28http:\/\/%5B^\/%5D+\/%5Ba-z%5D{3}\/%29?%28sentences\/show\/%29?%28%5B1-9%5D%5B0-9%5D%29%28#.%29?/;var%20em=e.match%28r%29;if%28em!=null%29{var%20h=location.href;var%20hm=h.match%28r%29;u=hm%5B1%5D+%22links/add/%22+hm%5B3%5D+%22/%22+em%5B3%5D;location.href=u;}else{alert%28%22Invalid%20input.%22%29};}
Note
The lines in green are the lines that have been added in the new version.
The lines in red are those that have been removed.
Actions