html |> | |
body |> [ | |
h1 <| ["class": "welcome"] <| ["id": "title"] |> "Welcome to Swiccup", | |
div <| ["id": "message", "class": "important"] |> "This is only the beginning.", | |
ol |> (1...4).map { | |
li |> "item #\($0)" | |
}] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment