Skip to content

Commit

Permalink
Readme typos
Browse files Browse the repository at this point in the history
  • Loading branch information
kremso committed Feb 17, 2010
1 parent f75930e commit 89ee4e5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Expand Up @@ -15,8 +15,8 @@ Creating templates
===================

Templates are created directly in OpenOffice. Ruby code is enclosed in special markup:
* `{%= %}` is for ruby code which should be output to the final document. `to_s` is applied to anything found inside this markup
* `{% %}` is for everything else — loops, ifs, ends and any other non-outputting code
* `{%= %}` is for ruby code which should be output to the final document. `to_s` is applied to anything found inside this markup
* `{% %}` is for everything else — loops, ifs, ends and any other non-outputting code

Any special formatting should by applied directly on the markup. E.g. if you need to ouput the value of variable title in bold font, write `{%= title %}`, select in in OpenOffice and make it bold. See the showcase.odt for more examples.

Expand Down Expand Up @@ -54,5 +54,5 @@ The key parts are `include Serenity::Generator` and render_odt. The data for the
Contact
=======

kramar[dot]tomas[at]gmail.com — - I love the attention
kramar[dot]tomas[at]gmail.com — I love the attention

0 comments on commit 89ee4e5

Please sign in to comment.