Skip to content

Syntax Highlighting for Mustache IF #4

@dwsmyth

Description

@dwsmyth

Hi Dan,
I am a big fan of logicless templates and mustache, so when I saw your syntax highlighting I jumped on it. I am having some difficulty with the syntax highlighting in Dark themes.

Here is a simple example of how using Mustache tags in a HTML document stops syntax highlighting.
<input type="text" {{#is_read_only}}disabled{{/is_read_only}} name="test" value=""/>

In the Dark color schemes /is_read_only}} is highlighted in one color, but {{^is_read_only}} is in another.

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