Kit icon indicating copy to clipboard operation
Kit copied to clipboard

Feature Request: Standardized Kit Comment Syntax

Open calvinjuarez opened this issue 10 years ago • 2 comments

Issue

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.

calvinjuarez avatar Oct 21 '14 19:10 calvinjuarez

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.

toonetown avatar Dec 11 '15 19:12 toonetown

Just finding this. Glad I looked. Very helpful hack.

luxuryluke avatar Jun 05 '17 19:06 luxuryluke