From 4903ceb86f7e854f65749015885d0bbad9ff62a8 Mon Sep 17 00:00:00 2001 From: Alex Warren Date: Sat, 25 Apr 2015 19:16:59 +0100 Subject: [PATCH] Update attributes example --- examples/attributes/attributes.squiffy | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/examples/attributes/attributes.squiffy b/examples/attributes/attributes.squiffy index 3dfb940..2b6268f 100644 --- a/examples/attributes/attributes.squiffy +++ b/examples/attributes/attributes.squiffy @@ -70,4 +70,12 @@ You clicked {count} links. What about calling [dec]? [dec]: @dec count +Now count is {count}. You can also [increase] or [decrease] by values other than 1. + +[increase]: +@inc count 10 +Now count is {count}. + +[decrease]: +@dec count 5 Now count is {count}. \ No newline at end of file