miso-belica/diagnostics

Add template engine

Opened this issue · 0 comments

Simple template engine that renders HTML from file with mark-up like:

  • {html variable.attribute}
  • {attr variable.attribute}
  • {for var in vars}<p>{html var}</p>{/for}
  • {if var_if} if {elseif var_elseif} elseif {else} else {/if}