Skip to content

javascript, stylesheet and schema Liquid tag syntax highlighting #11

@ADTC

Description

@ADTC

The schema tag, javascript tag and stylesheet tag could get the appropriate highlighting. Would this be possible? I think it should just piggy-back on how <script> and <style> highlighting works.

{% javascript %}
  // highlight this code as Javascript
{% endjavascript %}

{% stylesheet %}
  // highlight this code as CSS (or SCSS if you can't differentiate the next one)
{% endstylesheet %}

{% stylesheet 'scss' %}
  // highlight this code as SCSS
{% endstylesheet %}

{% schema %}
  // highlight this code as JSON or Javascript
{% endschema %}

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