Update examples in main README

This commit is contained in:
Dylan Piercey 2019-02-14 16:56:53 -08:00
parent 644b2b4b23
commit 83837cb6b2
No known key found for this signature in database
GPG Key ID: DA54E25D5BF13DBE

View File

@ -121,17 +121,17 @@ syntax. Find out more about the [concise syntax here](http://markojs.com/docs/co
```marko
<!-- Marko HTML syntax -->
<ul>
<li for(color in ['a', 'b', 'c'])>
${color}
</li>
<for|color| of=['a', 'b', 'c']>
<li>${color}</li>
</for>
</ul>
```
```marko
// Marko concise syntax
ul
li for(color in ['a', 'b', 'c'])
-- ${color}
for|color| of=['a', 'b', 'c']
li -- ${color}
```
# Changelog