Permalink
Browse files

docs

  • Loading branch information...
1 parent cff6189 commit 3a58eb88fab1ec6c3dee6d330bfa0ea83fbe9a79 @tj tj committed Mar 5, 2011
Showing with 26 additions and 0 deletions.
  1. +26 −0 Readme.md
View
@@ -160,6 +160,32 @@ or immediate tag text:
label Username:
input(name='user[name]')
+Tags that accept _only_ text such as `script`, `style`, and `textarea` do not
+need the leading `|` character, for example:
+
+ html
+ head
+ title Example
+ script
+ if (foo) {
+ bar();
+ } else {
+ baz();
+ }
+
+Alternatively if you decide no inline tags are needed, you may use the `:text` filter:
+
+ html
+ head
+ title Example
+ p
+ :text
+ You can place any text,
+ that you like here
+ even if it is indented really
+ strange
+ .
+
### Comments
Single line comments currently look the same as JavaScript comments,

0 comments on commit 3a58eb8

Please sign in to comment.