Skip to content

Instantly share code, notes, and snippets.

@mseeks
Last active December 15, 2015 03:19
Show Gist options
  • Save mseeks/5193438 to your computer and use it in GitHub Desktop.
Save mseeks/5193438 to your computer and use it in GitHub Desktop.
The basics of wiggling.
(:use wiggle.core)
(! 'html {} ; takes three params - 'tag {:option "value"} & content
(! 'head {} ; you can use anything for the tag, it just plugs in what you type
(! 'title {} "Example")) ; make sure to include {} even if you have no options
(! 'body {} "This is a test!" ; you can nest until your hearts content!
(! 'div {:class "style"} "Hello, world!"
(! 'div {} "another bird's nest"))))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment