HTML Code formatting insude JS script

Hello,

Sorry for the silly question, but I can't find the answer anywhere. I'm writing my HTML code inside my .js files and wondering if there is a way to format the code as the image below.

 

 

Every time I reformat or paste the code, webstorm aligns back (first example).

 

Thanks.

0
2 comments
Avatar
Permanently deleted user

Thanks for the answer.

0

Please sign in to leave a comment.