Last active
December 15, 2015 03:19
-
-
Save mseeks/5193438 to your computer and use it in GitHub Desktop.
The basics of wiggling.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(: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