Skip to content
Browse files

Added readme

  • Loading branch information...
1 parent 7a3ca5f commit c7c7d30011102c71765d802a57bdbb1117335cca @brandonbloom committed
Showing with 32 additions and 0 deletions.
  1. +32 −0 readme.md
View
32 readme.md
@@ -0,0 +1,32 @@
+Barely functional and not pretty to use, but here it is in action.
+
+# Usage
+
+```
+$ coffee html2coffeekup.coffee test/simple.html
+```
+
+# Output
+
+```
+doctype TODO
+html ->
+ head ->
+ title 'A simple test page'
+ style type: 'text/css', '.foo {\n color: red\n }'
+ body class: 'awesome', ->
+ div id: 'root', class: 'special', ->
+ comment 'This page is rapidly becoming not-so-simple'
+ h1 'A simple test page'
+ p ->
+ text 'With some awesome text, and a'
+ a href: 'http://www.google.com', 'link'
+ text '.'
+ p id: 'paragraph_2', ->
+ text 'And here is an image:'
+ img src: 'fake/source', title: 'not really'
+ text 'As well as a disabled select:'
+ select disabled: 'disabled', ->
+ option 'Oh boy!'
+ script type: 'text/javascript', 'console.log("Hello there");\n console.log("How\'s it going?");
+```

0 comments on commit c7c7d30

Please sign in to comment.
Something went wrong with that request. Please try again.