Sha256: a7cd393a50eef9d19161d4b26818c0ac7d01ece034a3533bf69b1a92ce6163f7

Contents?: true

Size: 1.42 KB

Versions: 2

Compression:

Stored size: 1.42 KB

Contents

---
title:      Webby S5
created_at: 2008-05-18 22:10:21.995012 -06:00
author:     You
company:    Company
copyright:  Creative Commons
filter:
  - erb
  - textile
  - slides
layout: presentation
---
h1. Webby S5 Generator

Clever introductory text that will grab the audience's attention.


h1. Title of the First Slide

A little more build up before really getting into the meat of it.


h1. Title of the Second Slide

Finally, some code!

<% uv :lang => "ragel", :theme => 'twilight' do -%>
action dgt      { printf("DGT: %c\n", fc); }
action dec      { printf("DEC: .\n"); }
action exp      { printf("EXP: %c\n", fc); }
action exp_sign { printf("SGN: %c\n", fc); }
action number   { /*NUMBER*/ }

number = (
    [0-9]+ $dgt ( '.' @dec [0-9]+ $dgt )?
    ( [eE] ( [+\-] $exp_sign )? [0-9]+ $exp )?
) %number;

main := ( number '\n' )*;
<% end -%>


h1. Title of the Third Slide

This code comes from a partial

<%= render :partial => 'sample_code', :guard => true %>


h1. Title of the Fourth Slide

A quadratic equation with real or complex coefficients has two (not necessarily distinct) solutions, called roots, which may or may not be real, given by the quadratic formula:

<% tex2img 'quadratic', :path => 'images', :alt => 'quadratic', :resolution => '300x300' do -%>
x = \frac{-b\pm\sqrt[]{b^2-4ac}}{2a}
<% end -%>


h1. The Final Slide

And that about sums it up!

Thanks for visiting

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
webby-0.9.3-x86-mswin32 examples/presentation/content/presentation/index.txt
webby-0.9.4-x86-mswin32 examples/presentation/content/presentation/index.txt