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

Feature Request: JS formatting within script tags in templates #11

Open
dparizek opened this issue Mar 13, 2019 · 2 comments
Open

Feature Request: JS formatting within script tags in templates #11

dparizek opened this issue Mar 13, 2019 · 2 comments

Comments

@dparizek
Copy link

So this is a wonderful improvement over formatting as html, except then if we have script tags inside our templates we get no formatting of the javascript like the default html template would do. Feature request that we still have js formatted too with django templates.

@cb109
Copy link

cb109 commented Jul 17, 2020

Works for me, javascript code is highlighted correctly within a <script> Tag in django-html mode 🤔

@G-kodes
Copy link

G-kodes commented Mar 2, 2022

I am having the same issue. Javascript formats as intended within <script/> tags, however it does not recognise django template tags within the <script/> tags and usually ends up butchering them and breaking them up via linting

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

3 participants