diff --git a/README.md b/README.md
index 48a5b63..e1825fb 100644
--- a/README.md
+++ b/README.md
@@ -8,10 +8,10 @@ A simple html preprocessor made with nodejs, making It for fun
div#target(.bold .row)[click="doX()"]
div(.col-4)
span "Heyy"
- div(.col-6)
+ div(.col-6 .centered)
span "You like stones?"
```
-The above piece of **stml** code will result in:
+The above piece of **stml** syntax will result in:
```html
@@ -24,9 +24,26 @@ The above piece of **stml** code will result in:
```
+### For Loop
+
+```sass
+div#id
+ @for(i = 0; i < 6; i += 2){
+ span(.banan-${i}) "text ${i}"
+ }
+```
+The above piece of **stml** syntax will result in:
+
+```html
+
+ text 0
+ text 2
+ text 4
+
+```
+
#### How to install it?
npm:
-* *not supported yet*
```shell
$ npm install stimule -g
```
diff --git a/example/forexample.html b/example/forexample.html
new file mode 100644
index 0000000..8f15d9a
--- /dev/null
+++ b/example/forexample.html
@@ -0,0 +1,12 @@
+
+
+
+
+
+ text 0
+ text 2
+ text 4
+
+
+
+
\ No newline at end of file
diff --git a/example/forexample.stml b/example/forexample.stml
new file mode 100644
index 0000000..d958ae9
--- /dev/null
+++ b/example/forexample.stml
@@ -0,0 +1,5 @@
+body#id2(.body .logged-in)[name="body"]
+ div#id
+ @for(i = 0; i < 6; i += 2){
+ span(.banan-${i}) "text ${i}"
+ }
diff --git a/example/ideas.md b/example/ideas.md
index f96fec0..fe580ce 100644
--- a/example/ideas.md
+++ b/example/ideas.md
@@ -4,7 +4,7 @@ My first idea was to do it as follows, because it a nown way of doing it:
```javascript
@for($i = 0; i < 3; i++){
span "var"+$i; // This should be a valid tag
- }
+}
// Would result in:
span "var 0"
@@ -17,3 +17,22 @@ span "var 2"
var 1
var 2
```
+
+#### Document declaration
+*Should be at the top of the stml document*
+
+Should declare the main document, so it ads the `html` tag and `` to the top of the file:
+
+1. More like the stml tag syntax `prefered`
+```sass
+@document#html(.no-js)[lang="es"]
+```
+
+2. This one has posibility to expand
+```js
+@document({
+ lang:"es",
+ class: "no-js",
+ id: "html"
+})
+```
diff --git a/example/index.html b/example/index.html
index 0995a7a..3ff2b3b 100644
--- a/example/index.html
+++ b/example/index.html
@@ -23,8 +23,7 @@
Hello im a span
var
- banananananan
-
+ banananananan undefined
+
+ Hello im a span
+ var
+ banananananan undefined
+
+
+