💬Comments

Corgi distinguishes between two types of comments:

HTML comments are included in your HTML while corgi comments are not.

p Hello
//- I'm included
p World!
// However, I am not.
//
  As is
  this block

Unlike in Go, comments must be the only item in their line. The below isn't allowed.

p // this is a p
  > ^ is not allowed

Last updated