html lang="en"
head
title - ${pageTitle}
body
h1 - ${pageTitle}
p
---
Marko is a fast and lightweight templating engine that
compiles templates to CommonJS modules and supports streaming,
async rendering and custom tags. It supports both a familiar
HTML syntax and a concise, indentation-based syntax.
---
ul.features
li for(feature in ['async', 'streaming', 'custom-tags', 'readable', 'modules'])
${feature}
ul if(notEmpty(data.colors))
li for(color in data.colors) - ${color}
div else
- No colors!
tabs
tabs:tab title="Tab 1"
- Body content for Tab 1
tabs:tab title="Tab 2"
- Body content for Tab 2
${title}