Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

javascript, stylesheet and schema Liquid tag syntax highlighting #11

Open
ADTC opened this issue Jan 22, 2018 · 1 comment
Open

javascript, stylesheet and schema Liquid tag syntax highlighting #11

ADTC opened this issue Jan 22, 2018 · 1 comment

Comments

@ADTC
Copy link

ADTC commented Jan 22, 2018

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 %}
@panoply
Copy link
Contributor

panoply commented Dec 12, 2018

@ADTC Solved this in #15

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants