Skip to content

Instantly share code, notes, and snippets.

@Deepwalker
Last active August 29, 2015 14:17
Show Gist options
  • Save Deepwalker/b3940f1d06c8f2f69c25 to your computer and use it in GitHub Desktop.
Save Deepwalker/b3940f1d06c8f2f69c25 to your computer and use it in GitHub Desktop.
- import json
- def ku(text):
h2
- yield text
p
- yield "Awesome"
!doctype/
head
title "magic is a pony"
body
h1 class="project"
p
"colors of the magic
div
table
tbody
tr
td
"magic
div
"content"
- for i in range(10):
div
span
- yield "Common
- yield json.dumps({})
- if True:
"conditional
- yield from ku('there')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment