diff options
author | David Barksdale <amatus.amongus@gmail.com> | 2013-03-13 14:35:42 -0500 |
---|---|---|
committer | David Barksdale <amatus.amongus@gmail.com> | 2013-03-13 14:35:42 -0500 |
commit | 6fa252d25b68262601ee855e3e79fe6fbabbd542 (patch) | |
tree | 3714d9c38f762caf4748009784dec6d94a65b760 | |
parent | d0ea3c3b3a14b78334f2f866d4a926b26f15a8d8 (diff) |
Fixed example inputs and outputs.
-rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -7,8 +7,8 @@ development stack. The Hiccup formatting language allows the description of HTML syntax trees in a Lisp-like prefix notation based on Clojure's Vector literal denoted `[]`. In -Hiccup one may say `[:a {:class "bar" :href "/"} "go home!"" ]`, which renders -to the equivalent html `<a href="/" class="bar"> go home! </a>`. As you can see +Hiccup one may say `[:a {:class "bar" :href "/"} "go home!" ]`, which renders +to the equivalent html `<a class="bar" href="/">go home!</a>`. As you can see this is a fairly regular translation and the Hiccup tool makes it easy to go from Clojure to HTML. Decomp decomposes the expanded html into the Huccup-equivalent vector stack, completing the round trip. |