Skip to content

Syntax highlighting appears in commented code #14

@serhumanos

Description

@serhumanos

When using Alpine.js directives inside Blade files, the syntax highlighting applies even to code that is inside Blade comments {{-- ... --}}.

Expected behavior:
The commented code should appear with comment styling, regardless of its content.

Actual behavior:
The editor recognizes Alpine directives inside the comment and applies HTML/JS syntax highlighting, making the comment hard to read and visually inconsistent.

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