- Finalizing the documentation before tagging 1.0 release
This commit is contained in:
1 parent
bb29a56077
commit
46535c2734
29 files changed
+933
-211
No files matched your search
@@ -0,0 +1,26 @@
|
||||
# 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:
|
||||
|
||||
```html
|
||||
{# 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:
|
||||
|
||||
```html
|
||||
<div>
|
||||
<i>Good bye world !</i>
|
||||
</div>
|
||||
```
|
||||
Reference in new issue
Block a user