Currently, I'm using the following to make a comment that Kit removes, but also doesn't store a variable:
<!-- @c! Some Comment -->
This works perfectly, but feels a little hack-y. It'd be nice to have a defined syntax for a comment that Kit should remove, but wouldn't store a variable or do anything that may affect the output.
Possible Pattern
<!-- $! Some Comment -->
<!-- @! Some Comment -->
The $ or @ would mean it would match the current Special Comment check, and the ! feels like an concise (and HTML-ish) way to indicate a comment.
BTW - the current way of doing this is brilliant (I'd like a more concise way as well - but this way is fine...). It also works for multi-line comments.
Issue
Currently, I'm using the following to make a comment that Kit removes, but also doesn't store a variable:
This works perfectly, but feels a little hack-y. It'd be nice to have a defined syntax for a comment that Kit should remove, but wouldn't store a variable or do anything that may affect the output.
Possible Pattern
The
$
or@
would mean it would match the current Special Comment check, and the!
feels like an concise (and HTML-ish) way to indicate a comment.