picea/docs/01-comment.md

481 B

Control structures - Comments

There is no single-line token to comment code within Picea, it's a tag working as such :

[PICEA] So, using this code:

{# This is how you comment in a Picea view #}

<div>
    {# Is it hello or good bye ? not sure on this ! #}
    <i>Good bye world !</i>
</div>

{# This is a multi-line comment
    <div>This part will not be rendered</div>
#}

[HTML] Would render as such:

<div>
    <i>Good bye world !</i>
</div>