I'm using Vue, and I write many of my templates inside a script tag. I'd like to configure Prettier to treat those templates as the HTML that they are, but I haven't found anything in the documentation about how to do this.
It looks something like this. Right now, Prettier doesn't help me with the HTML inside that script tag. I'd like to tell it that these contain HTML so it behaves as it would if that HTML were outside the script tag.
<script type="text/x-template">
<p>Hello world.</p>
</script>
Aside... I rely so heavily on Prettier that I am putting the HTML inside the script tags in a partial so it can be in a separate file where Prettier will run on it. Convoluted, but it's a workaround. Still, I really want a solution for this.