Skip to content

Feature Request: Standardized Kit Comment Syntax #9

@calvinjuarez

Description

@calvinjuarez

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions