Notice
This page show a previous version of the articleSandbox
Use this page to experiment with wiki markup.
Nested bulleted list:
- a
- a.b
- a.b.c
- a.v
- a.b
- z
Code sample (note that the format differs between preview mode and final presentation):
if (a)
b
else
c
Bookmarklet test:
Second bookmarklet test:
<a href="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};}">test 2a</a>
Second bookmarklet test:
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:\/\/[^\/]+\/[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=hm1+%22links/add/%22+hm[3]+%22/%22+em[3];location.href=u;}else{alert%28%22Invalid%20input.%22%29};}