You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Various tools support JavaScript template literals prefixed with an "HTML" comment. VSCode provides syntax highlighting for the following and Prettier will format it too:
consthtml=/* HTML */` <script src="https://unpkg.com/[email protected]"></script> <!-- have a button POST a click via AJAX --> <button hx-post="/clicked" hx-swap="outerHTML">Click Me</button>`;
I'd like to see htmx-tags support HTMX attributes inside JavaScript template literals too.
The text was updated successfully, but these errors were encountered:
Various tools support JavaScript template literals prefixed with an "HTML" comment. VSCode provides syntax highlighting for the following and Prettier will format it too:
I'd like to see htmx-tags support HTMX attributes inside JavaScript template literals too.
The text was updated successfully, but these errors were encountered: