Notepad-HTML-JS-Formater-Plugin
Notepad-HTML-JS-Formater-Plugin copied to clipboard
Template literals (Template strings) are not formatted correctly
Hi. Thanks for your good work. Template literals (Template strings) are not formatted correctly. [https://www.w3schools.com/js/js_string_templates.asp]
This does not seem to be implemented in your script at all. Implementing it seems like a simple task. Similar to what you did for strings. Thanks for implementing this.
For example, the following code:
let text = `Welcome ${firstName}, ${lastName}!`;
is formatted as follows:
let text = `Welcome $ {
firstName
}, $ {
lastName
}! `;
And of course this is a mistake.