Skip to content

Instantly share code, notes, and snippets.

@yolayne
Created September 25, 2015 22:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save yolayne/78306c31493a6f7e4644 to your computer and use it in GitHub Desktop.
Save yolayne/78306c31493a6f7e4644 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" default="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