Write logic blocks inline on the element, like Vue.
<div :if={foo}>
  Hello
</div>
<div :else-if={bar}>
  World
</div>
<div :else>
  !
</div>
See Input.svelte for the full supported syntax.
Experimental. The code is really messy and only serves as an MVP of what the Svelte syntax could be.
Unresolved issues:
{#if foo} won't be mapped to :if={foo}.Run node test to preprocess Input.svelte to Output.svelte.
MIT