Skip to content

Highlight mustache templates used in RactiveJS #3

@shakeelosmani

Description

@shakeelosmani

RactiveJS is a JavaScript framework that uses MustacheJS for it's templating. The way RactiveJS template is defined is this way:

<script type="text/ractive">

How to make the plugin to parse this as a mustache template where ever it sees script type="text/ractive", as the script block can appear in any type of file, someone using RactiveJS with PHP the file extension might be .php, it could be .html, .rb etc.

So I think the ideal way would be to scan for and when text/ractive is encountered it will treat that as a Mustache template. It will be awesome if we can make that a configurable property.

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