in five minutes
---
- First slide contains a hash with meta info
- Just like so:
- >
- titulo: YAML for vermins
autor: S. P. Eaker
email: spe@vermin.edu
sitio: Wolf's den
---
- The rest bullets
- |
- This is a title
- First bullet point
- Second bullet point
- You got it, third
---
- This is a title
- First bullet point
- Second bullet point
- You got it, third
---
- You can insert arbitrary HTML
- |
- !perl/$img
src: yaml.png
align: right
- Another line
- !perl/$code
body: "my $foo = bar"
---
- Which will look like you expected
- !perl/$img
src: yaml.png
align: right
- Another line
- !perl/$code
body: "my $foo = bar"
---
- Then run the script
- |
yuyupress [template dir] [template file]
- By default, there will be a template at $INSTALLDIR/lib/tmpl
- There's also a default template called normal.tmpl
---
- Templating engine is the Template Toolkit
- You can create new templates easily
---
- Use yuyugen to generate HTML
- For the presentation in a single file
- |
bash$ yuyugen howto.yaml ../lib/tmpl/ normal.tmpl . 1
- For a file per slide
- |
bash$ yuyugen howto.yaml ../lib/tmpl/ normal.tmpl .
- Both in the current directory, and with a file called index.html as index