Skip to content

Instantly share code, notes, and snippets.

@doubleshow
Last active October 14, 2015 11:38
Show Gist options
  • Save doubleshow/b52c05a04a89b06928a4 to your computer and use it in GitHub Desktop.
Save doubleshow/b52c05a04a89b06928a4 to your computer and use it in GitHub Desktop.
craftml
<craft>
<info>
<title>Untitled</title>
</info>
<param name="h" type="int" default="20"
label="height of the cylinder"/>
<param name="n" type="int" default="3"
label="number of spheres"/>
<param name="name" type="string" def ault="world"
label="my name"/>
<col spacing="5">
<row spacing="10">
<cylinder height="{{h}}"></cylinder>
<cube></cube>
<prism></prism>
<dome></dome>
<repeat n="{{n}}">
<sphere></sphere>
</repeat>
</row>
<div>
Hello {{name}}
</div>
</col>
</craft>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment