[Add Language] Marko (#3519)

* add marko

* update marko
This commit is contained in:
Michael Rawlings
2017-03-17 02:46:20 -07:00
committed by Colin Seymour
parent 053b8bca97
commit 3bbfc907f3
9 changed files with 121 additions and 0 deletions

15
samples/Marko/hello.marko Normal file
View File

@@ -0,0 +1,15 @@
$ var name = 'Frank';
$ var colors = ['red', 'green', 'blue'];
<h1>
Hello ${name}!
</h1>
<ul if(colors.length)>
<li style={color: color} for(color in colors)>
${color}
</li>
</ul>
<div else>
No colors!
</div>