I use Vue.js using x-templates in HTML pages, e.g.

<script type="text/x-template" id="home-template">
  <!-- Some HTML code -->

Is there any extension to format this code inside HTML page for Visual Studio Code? Cannot find any.

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.