Version at: 16/01/2014, 03:05 vs. version at: 16/01/2014, 03:11
11# Sandbox
22
33Use this page to experiment with wiki markup.
44
55Nested bulleted list:
66
77* a
88 * a.b
99 * a.b.c
1010 * a.v
1111* z
1212
1313Code sample (note that the format differs between preview mode and final presentation):
1414
1515`
1616if (a)
1717 b
1818else
1919 c
2020`
2121
2222[My Bookmarklet][]
2323
2424 [My Bookmarklet]: javascript:var%20u%20=%20"";var%20e=window.prompt("Enter%20URL%20or%20number%20of%20sentence%20to%20link%20to%20this%20one","");if(e!=null){var%20r=/(http:\/\/[^\/]+\/[a-z]{3}\/)?(sentences\/show\/)?([1-9][0-9])(#.)?/;var%20em=e.match(r);if(em!=null){var%20h=location.href;var%20hm=h.match(r);u=hm[1]+"links/add/"+hm[3]+"/"+em[3];location.href=u;}else{alert("Invalid%20input.")};}
2525
26[BML](javascript:var%20u%20=%20"";var%20e=window.prompt%28"Enter%20URL%20or%20number%20of%20sentence%20to%20link%20to%20this%20one",""%29;if%28e!=null%29{var%20r=/%28http:\/\/[^\/]+\/[a-z]{3}\/%29?%28sentences\/show\/%29?%28[1-9][0-9]%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[1]+"links/add/"+hm[3]+"/"+em[3];location.href=u;}else{alert%28"Invalid%20input."%29};})
diff view generated by jsdifflib

Version at: 16/01/2014, 03:05

# Sandbox

Use this page to experiment with wiki markup. 

Nested bulleted list:

* 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
`

[My Bookmarklet][]

  [My Bookmarklet]: javascript:var%20u%20=%20"";var%20e=window.prompt("Enter%20URL%20or%20number%20of%20sentence%20to%20link%20to%20this%20one","");if(e!=null){var%20r=/(http:\/\/[^\/]+\/[a-z]{3}\/)?(sentences\/show\/)?([1-9][0-9])(#.)?/;var%20em=e.match(r);if(em!=null){var%20h=location.href;var%20hm=h.match(r);u=hm[1]+"links/add/"+hm[3]+"/"+em[3];location.href=u;}else{alert("Invalid%20input.")};}

version at: 16/01/2014, 03:11

# Sandbox

Use this page to experiment with wiki markup. 

Nested bulleted list:

* 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
`

[My Bookmarklet][]

  [My Bookmarklet]: javascript:var%20u%20=%20"";var%20e=window.prompt("Enter%20URL%20or%20number%20of%20sentence%20to%20link%20to%20this%20one","");if(e!=null){var%20r=/(http:\/\/[^\/]+\/[a-z]{3}\/)?(sentences\/show\/)?([1-9][0-9])(#.)?/;var%20em=e.match(r);if(em!=null){var%20h=location.href;var%20hm=h.match(r);u=hm[1]+"links/add/"+hm[3]+"/"+em[3];location.href=u;}else{alert("Invalid%20input.")};}

[BML](javascript:var%20u%20=%20"";var%20e=window.prompt%28"Enter%20URL%20or%20number%20of%20sentence%20to%20link%20to%20this%20one",""%29;if%28e!=null%29{var%20r=/%28http:\/\/[^\/]+\/[a-z]{3}\/%29?%28sentences\/show\/%29?%28[1-9][0-9]%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[1]+"links/add/"+hm[3]+"/"+em[3];location.href=u;}else{alert%28"Invalid%20input."%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.