summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorSimon Neveu <simon@animade.tv>2014-10-09 23:20:19 +0100
committerSimon Neveu <simon@animade.tv>2014-10-09 23:20:19 +0100
commit2710fd4c6c1bbb580c54833c4b6ffc03ff5638bf (patch)
tree502f57021dd324efac39fc87cbd99829d23643a2
parentd1ef1771ad5448c3c004f1aec3e8b836df3cb96e (diff)
Fixed indentation
-rw-r--r--haml.html.markdown8
1 files changed, 4 insertions, 4 deletions
diff --git a/haml.html.markdown b/haml.html.markdown
index 47da2aee..e5a13682 100644
--- a/haml.html.markdown
+++ b/haml.html.markdown
@@ -100,7 +100,7 @@ markup that is well-structured, DRY, logical, and easier to read.
/ To run some ruby code without rendering it to the html, use a hyphen instead
-- books = ['book one', 'book 2', 'book 3']
+- books = ['book 1', 'book 2', 'book 3']
/ Allowing you to do all sorts of awesome, like ruby blocks
- books.shuffle.each_with_index do |book, index|
@@ -130,12 +130,12 @@ markup that is well-structured, DRY, logical, and easier to read.
Use the colon to define haml filters, one example of a filter you can
use is :javascript, which can be used for writing inline js
- :javascript
- console.log('This is inline <script>');
+:javascript
+ console.log('This is inline <script>');
```
## Additional resources
-- [What is HAML?](http://haml.info/) - A good introduction that does a much better job of explaining how beneficial HAML can be.
+- [What is HAML?](http://haml.info/) - A good introduction that does a much better job of explaining the benefits of using HAML.
- [Official Docs](http://www.ruby-doc.org/core-2.1.1/) - If you'd like to go a little deeper.