Skip to content
This repository was archived by the owner on Sep 6, 2021. It is now read-only.
This repository was archived by the owner on Sep 6, 2021. It is now read-only.

Syntax highlighting within ES6 template strings #13740

Open
@ni-vo

Description

@ni-vo

Description

Is it possible (with configuration or addons) to apply syntax highlighting (in my case HTML) to ES6 template strings? Take for example, an angular 1.x component file:

(function () {
    "use strict";
    
    angular.module("app").component("example", {
        template: `
            <div layout="row" layout-align="end center">
                <md-button class="md-raised md-default">Cancel</md-button>
                <md-button class="md-raised md-primary">Submit</md-button>
            </div>
        `,
        
        controller: function () {
            var ctrl = this;
        }
    });
})();

Relevant issue on the Atom GitHub: TypeStrong/atom-typescript#818

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions