X-Git-Url: http://git.plutz.net/?a=blobdiff_plain;f=example%2Fdemo.short;fp=example%2Fdemo.short;h=ae866d48dc2f63179d97b68b67f0708f6a3293d6;hb=05bb8e1d605b94d3f513c13600ffc43158ca9434;hp=0000000000000000000000000000000000000000;hpb=12cba71aee52cb3174ad90ac2042848178747f21;p=clickslide diff --git a/example/demo.short b/example/demo.short new file mode 100644 index 0000000..ae866d4 --- /dev/null +++ b/example/demo.short @@ -0,0 +1,65 @@ +[html [head + [title ClickSlide Demo] +] [body + [footer Clickslide Demo] + + [slide + [h1 Clickslide] + a Compiler for Browser based Slideshows + ] + [slide + [ul + [li Why would I write another Slideshow system] + [li What's wrong with JavaScript?] + [li How do you simplify HTML?] + ] + ] + [slide + [h2 Why Write another Slideshow System?] + [ul .uncover + [li WYSIWYG Slideshow applications are annoying [ul + [li too much fiddling, not straight to point] + ]] + [li [em LaTeX] is not exactly casual] + [li Existing Browser Slideshows are [ul + [li based on JavaScript (see next slide)] + [li Either verbous HTML, or unflexible markup] + ]] + ] + ] + [slide + [h2 Why avoid JavaScript] + [ul .uncover + [li Nothing wrong with JS as a programming language, [strong but...]] + [li Freedom to [em Use], [em Study], [em Share], and [em Improve] can in practice not be applied to code served from another Computer (regardless of the license this code is under)] + [li Impossible to get Browser security straight for Turing complete programs [ul + [li → Massive security problems, which are fundamentally unresolvable] + [li HTML and CSS are not Turing complete (CSS is a [em regular] language)] + ]] + [li Performance killer in practice] + ] + ] + [slide [h2 Simplifying HTML] + Maintain the flexibility of plain HTML. Decrease the verbosity of the code. [br] + [pre style="display: inline-block; width: 46%;" +\ + \ + \Demo\ + \ + \ + \

Headline\ + \ +\ + ] + [pre style="display: inline-block; width: 46%;" +\[html + \[head + \[title Demo\] + \] + \[body \#frontpage + \[h1 .top Headline\] + \] +\] + ] + ] +]